diff --git a/buildtools/webpack.prod.js b/buildtools/webpack.prod.js index f4cc55463a4b..a3d80372bf6f 100644 --- a/buildtools/webpack.prod.js +++ b/buildtools/webpack.prod.js @@ -92,7 +92,7 @@ module.exports = function () { optimization: { minimizer: [ new TerserPlugin({ - exclude: /^(?!.*mapillary\.js$).*$/, + exclude: /.*mapillary\.js$/, parallel: true, sourceMap: true, terserOptions: {