Skip to content

Commit 7f5378f

Browse files
committed
fix(source map): 修复babel-loader在webpack中source map不生效问题
1 parent a6bac57 commit 7f5378f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/Config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Config {
5555
requireRules: [
5656
'node_modules|package.json:main|index.js'
5757
],
58-
devtool: 'cheap-module-source-map'
58+
devtool: 'cheap-source-map'
5959
};
6060
}
6161
setExports(files) {

0 commit comments

Comments
 (0)