From 51c0bd76a767a92e129b135b32737bcbf810b0e6 Mon Sep 17 00:00:00 2001 From: Eric Blade Date: Fri, 23 Sep 2022 03:51:02 -0400 Subject: [PATCH] webpack: stop producing sourcemap in node code, reducing target by 1MB # Conflicts: # configs/webpack.config.min.js # configs/webpack.node.config.js --- configs/webpack.node.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/webpack.node.config.js b/configs/webpack.node.config.js index d9ab962d..573669d1 100644 --- a/configs/webpack.node.config.js +++ b/configs/webpack.node.config.js @@ -17,5 +17,6 @@ module.exports.plugins = [ ENV: require(path.join(__dirname, './env/', process.env.BUILD_ENV)), }), ]; +module.exports.devtool = undefined; module.exports.output.path = __dirname + '/../lib'; module.exports.output.filename = 'quagga.js';