mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +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');
|
paths.appBuild = webpackConfig.output.path = path.resolve('../resources/html');
|
||||||
|
|
||||||
|
if (webpackConfig.mode === 'development') {
|
||||||
|
webpackConfig.devtool = 'eval-source-map';
|
||||||
|
}
|
||||||
|
|
||||||
return webpackConfig;
|
return webpackConfig;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user