Merge pull request #8555 from ahocevar/no-mangling-for-workers

Do not minify examples that inject code into workers
This commit is contained in:
Andreas Hocevar
2018-08-29 10:45:26 +02:00
committed by GitHub
+2 -5
View File
@@ -35,11 +35,8 @@ module.exports = {
minimizer: [ minimizer: [
new UglifyJsPlugin({ new UglifyJsPlugin({
sourceMap: true, sourceMap: true,
uglifyOptions: { // Do not minify examples that inject code into workers
mangle: { exclude: [/(color-manipulation|region-growing|raster)\.js/]
keep_fnames: true
}
}
}) })
], ],
runtimeChunk: { runtimeChunk: {