Skip to content

Commit c0c01ab

Browse files
committed
DEV-630: Fix SourceMap warning
1 parent 23d0ad7 commit c0c01ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { version } = require('./package.json')
99
const path = require('path')
1010

1111
const config = {
12-
devtool: 'cheap-source-map',
12+
devtool: 'inline-source-map',
1313
mode: process.env.NODE_ENV,
1414
context: path.join(__dirname, 'src'),
1515
entry: {
@@ -21,6 +21,7 @@ const config = {
2121
output: {
2222
path: path.join(__dirname, '/dist'),
2323
filename: '[name].js'
24+
// sourceMapFilename: '[name].js.map'
2425
},
2526
resolve: {
2627
extensions: ['.js', '.vue']

0 commit comments

Comments
 (0)