diff options
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r-- | config/webpack.config.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index e760ce1cb8c..55ff1e6f836 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -219,7 +219,9 @@ module.exports = { new VueLoaderPlugin(), // automatically configure monaco editor web workers - new MonacoWebpackPlugin(), + new MonacoWebpackPlugin({ + features: [], + }), // prevent pikaday from including moment.js new webpack.IgnorePlugin(/moment/, /pikaday/), @@ -287,7 +289,7 @@ module.exports = { inline: DEV_SERVER_LIVERELOAD, }, - devtool: IS_PRODUCTION ? 'source-map' : 'cheap-module-eval-source-map', + devtool: IS_PRODUCTION ? 'nosources-source-map' : 'cheap-module-eval-source-map', // sqljs requires fs node: { fs: 'empty' }, |