Merge branch 'fix/serverBabelOpts' into implement/simpleAndLazyOptimizer
This commit is contained in:
commit
dc6f7f8fad
|
@ -83,7 +83,9 @@ class BaseOptimizer extends EventEmitter {
|
|||
test: /\.jsx$/,
|
||||
exclude: /(node_modules|bower_components)/,
|
||||
loader: 'babel',
|
||||
query: babelOptions
|
||||
query: _.defaults({
|
||||
nonStandard: true
|
||||
}, babelOptions)
|
||||
}
|
||||
].concat(this.modules.loaders),
|
||||
noParse: this.modules.noParse,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optional: ['runtime'],
|
||||
stage: 1,
|
||||
nonStandard: true
|
||||
nonStandard: false
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue