From 187622b83a0edaeb1318feb68249bd342fd0951d Mon Sep 17 00:00:00 2001 From: dessant Date: Fri, 14 May 2021 23:24:41 +0300 Subject: [PATCH] fix: do not bundle source maps with Opera package --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index de03b62..932784e 100755 --- a/webpack.config.js +++ b/webpack.config.js @@ -92,6 +92,6 @@ module.exports = { modules: [path.resolve(__dirname, 'src'), 'node_modules'], extensions: ['.js', '.json', '.css', '.scss', '.vue'] }, - devtool: isProduction ? 'source-map' : false, + devtool: isProduction && targetEnv !== 'opera' ? 'source-map' : false, plugins };