dev(webpack): Tweak source map in dev mode

This commit is contained in:
Taso committed 2021-06-08 23:09:23 -04:00
1 parent e76e6c5296
commit bb81ab6fe2
1 file changed
+4
+4
View File
@@ -56,6 +56,10 @@ module.exports = {
paths.appBuild = webpackConfig.output.path = path.resolve('../resources/html');
if (webpackConfig.mode === 'development') {
webpackConfig.devtool = 'eval-source-map';
}
return webpackConfig;
},
},