Skip to content

Commit 05924b5

Browse files
committed
fix: source map
1 parent 0c9e968 commit 05924b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module.exports = async (env, argv) => {
5050

5151
mode: isProduction ? 'production' : 'development',
5252
// add source map
53-
// ...(isProduction ? {} : { devtool: 'eval-source-map' }),
53+
...(isProduction ? {} : { devtool: 'eval-source-map' }),
5454
// devtool: 'eval-source-map',
5555
module: {
5656
rules: [{

0 commit comments

Comments
 (0)