Closed tonis2 closed 8 years ago
Hi, you should path this option into compiler configuration.
new ClosureCompilerPlugin({
compiler: {
language_in: 'ECMASCRIPT6',
language_out: 'ECMASCRIPT5',
compilation_level: 'ADVANCED',
use_types_for_optimization: false
},
concurrency: 3,
})
Hope that helped.
Bundling works good but, browser gives error. Uncaught TypeError: (0 , f.default) is not a function from closure-compiler Faq i found
but where should i add this .--use_types_for_optimization false ?