Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Commit 79ca196

Browse files
chore(debug): CSS sourceMap was overwritten by JS one
1 parent ffb1c73 commit 79ca196

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

webpack.common.js

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var relPaths = {
4646

4747
// allow for multiple entry points, hence multiple outputs
4848
bundleJs: 'js/[name]-bundle.js',
49-
sourceMap: 'js/[name]-bundle.js.map',
5049
chunk: 'js/[id]-chunk.js',
5150
bundleCss: 'css/[name]-bundle.css',
5251
};

webpack.config.dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var config = {
4343
filename: common.relPaths.bundleJs,
4444

4545
// A template for the name of each source-map file, as a relative path
46-
sourceMapFilename: common.relPaths.sourceMap,
46+
// Leave default one
4747

4848
// A template for the name of each intermediate chunk file, as a relative path
4949
chunkFilename: common.relPaths.chunk,

webpack.config.prod.js

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ var config = {
2929

3030
path: common.absPaths.buildOutput,
3131
filename: common.relPaths.bundleJs,
32-
sourceMapFilename: common.relPaths.sourceMap,
3332
chunkFilename: common.relPaths.chunk,
3433

3534
publicPath: common.urls.public,

0 commit comments

Comments
 (0)