mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
dev(webpack): Tweak source map in dev mode
This commit is contained in:
1 parent
e76e6c5296
commit
bb81ab6fe2
1 file changed
+4
@@ -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;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user