Skip to content

Commit

Permalink
chore(webpack): fix invalid sourcemap warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MajesticPotatoe committed Jan 25, 2019
1 parent 4d0fa05 commit 67a725c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/docs/build/webpack.base.config.js
Expand Up @@ -16,9 +16,11 @@ const plugins = [
new VueLoaderPlugin()
]

const devtool = isProd ? 'none' : 'source-map'

module.exports = {
mode: isProd ? 'production' : 'development',
devtool: 'source-map',
devtool,
output: {
path: resolve('../dist'),
publicPath: '/dist/',
Expand Down

0 comments on commit 67a725c

Please sign in to comment.