From bc568f08640f4415dad2db19a190c6724d490bc9 Mon Sep 17 00:00:00 2001 From: liabru Date: Sat, 19 Nov 2022 15:24:58 +0000 Subject: [PATCH] change dev server source map mode --- webpack.demo.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.demo.config.js b/webpack.demo.config.js index a46cb82..77e2e22 100644 --- a/webpack.demo.config.js +++ b/webpack.demo.config.js @@ -29,7 +29,7 @@ License ${pkg.license}`; return { entry: { [name]: './demo/src/index.js' }, node: false, - devtool: devServer ? 'source-map' : 'none', + devtool: devServer ? false : 'none', output: { library: 'MatterDemo', libraryTarget: 'umd',