diff --git a/examples/webpack/config.js b/examples/webpack/config.js index 47003ebd4d..e7c185ba60 100644 --- a/examples/webpack/config.js +++ b/examples/webpack/config.js @@ -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: {