Closed Maxlufs closed 8 years ago
having the same issue here~~
Fixed and published as v2.0.2. I've added test
option where you can specify a pattern for file names which should be processed, default is /\.js($|\?)/i
.
new ClosureCompilerPlugin({
test: /\.js($|\?)/i,
compiler: {
language_in: 'ECMASCRIPT6',
language_out: 'ECMASCRIPT5',
compilation_level: 'ADVANCED'
},
concurrency: 3,
})
Hi, I have a case where in main.js, css is imported. So during the build, the setup looks like this
And it gives me error:
seems like the plugin doesn't take any non js files extracted by ExtractTextPlugin. Is there any way to ignore css files or work around this issue?
Thank you!