diff --git a/webpack.config.js b/webpack.config.js index 29ba3f4..d1c3104 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,7 +10,7 @@ let devtool = 'source-map' if (process.env.ESP_PROD) { // ignore demo - plugins.push(new webpack.IgnorePlugin(/\.\/demo(?:\.js)?$/)) + plugins.push(new webpack.IgnorePlugin(/(term|\.)\/demo(?:\.js)?$/)) // no source maps devtool = ''