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

View File

@@ -35,11 +35,8 @@ module.exports = {
minimizer: [
new UglifyJsPlugin({
sourceMap: true,
uglifyOptions: {
mangle: {
keep_fnames: true
}
}
// Do not minify examples that inject code into workers
exclude: [/(color-manipulation|region-growing|raster)\.js/]
})
],
runtimeChunk: {