mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
knockout appendChild => append
and tested closure-compiler 0.2.12 but still broken for es6 mode
This commit is contained in:
parent
7713f459ac
commit
0f56c7d28f
11 changed files with 209 additions and 188 deletions
|
|
@ -7,6 +7,9 @@ const devPathJoin = path.join(__dirname, 'dev');
|
|||
const externalPathJoin = path.join(__dirname, 'dev', 'External');
|
||||
const loose = true;
|
||||
|
||||
//npm install closure-webpack-plugin google-closure-compiler
|
||||
//const ClosurePlugin = require('closure-webpack-plugin');
|
||||
|
||||
const babelLoaderOptions = function() {
|
||||
return {
|
||||
ignore: [/\/core-js/],
|
||||
|
|
@ -63,6 +66,22 @@ module.exports = function(publicPath, pro, mode) {
|
|||
optimization: {
|
||||
concatenateModules: false,
|
||||
minimize: false
|
||||
/*
|
||||
,minimizer: [
|
||||
new ClosurePlugin({mode: 'STANDARD'}, {
|
||||
language_in:'ECMASCRIPT6',
|
||||
language_out:'ECMASCRIPT6',
|
||||
compilation_level: 'ADVANCED_OPTIMIZATIONS'
|
||||
// compiler flags here
|
||||
//
|
||||
// for debugging help, try these:
|
||||
//
|
||||
// formatting: 'PRETTY_PRINT'
|
||||
// debug: true,
|
||||
// renaming: false
|
||||
})
|
||||
]
|
||||
*/
|
||||
},
|
||||
plugins: [
|
||||
// new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue