Do not minify examples that inject code into workers

This commit is contained in:
ahocevar
2018-08-29 08:55:03 +02:00
parent badc350746
commit 8e9e0ae848
+2 -5
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: {