mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
Cleanup KnockoutJS and use ECMASCRIPT_2018 for its closure compiler
This commit is contained in:
parent
bcc3dc51ef
commit
4a403df168
6 changed files with 136 additions and 217 deletions
4
vendors/knockout/Gruntfile.js
vendored
4
vendors/knockout/Gruntfile.js
vendored
|
|
@ -63,8 +63,8 @@ module.exports = function(grunt) {
|
|||
function buildMin(output, done) {
|
||||
var cc = require('closure-compiler');
|
||||
var options = {
|
||||
language_in:'ECMASCRIPT6',
|
||||
language_out:'ECMASCRIPT6',
|
||||
language_in:'ECMASCRIPT_2018',
|
||||
language_out:'ECMASCRIPT_2018',
|
||||
compilation_level: 'ADVANCED_OPTIMIZATIONS',
|
||||
output_wrapper: '(()=>{%output%})();'
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue