build: source-map 활성화(디버그용)

This commit is contained in:
2022-07-29 01:13:51 +09:00
parent 7b75f4e01b
commit a4ff1f44ba
+2 -1
View File
@@ -63,7 +63,8 @@ module.exports = (env, argv) => {
entryIngameVue['bootstrap'] = `${scssDir}/bootstrap.scss`;
const cacheDirectory = path.resolve(__dirname, 'node_modules/.cache/webpack');
const devtool = mode != 'production' ? 'eval-source-map' : (env.WEBPACK_WATCH ? 'source-map' : undefined);
//const devtool = mode != 'production' ? 'eval-source-map' : (env.WEBPACK_WATCH ? 'source-map' : undefined);
const devtool = mode != 'production' ? 'eval-source-map' : 'source-map';
const optimization = {
splitChunks: {