Skip to content

Commit

Permalink
Adding sourcemaps to vue dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly authored and ErikBjare committed May 4, 2021
1 parent 165ec2f commit 97e45c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ module.exports = {
});
},
configureWebpack: {
// sourcemaps are not enabled when `--watch` is used https://github.com/vuejs/vue-cli/issues/1806#issuecomment-832111894
devtool: 'source-map',
resolve: {
alias: {
'~': path.resolve(__dirname, './src'),
Expand Down

0 comments on commit 97e45c4

Please sign in to comment.