Skip to content

Commit

Permalink
fix(config): fix configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
xinbenlv committed Jul 29, 2020
1 parent 97dead7 commit 6885006
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ export default {
"vee-validate/dist/rules",
"vee-validate/dist/vee-validate.full.esm"
],
extend (config, {isDev}) {
extend (config, {isDev, isClient}) {
if (isDev) {
config.devtool = ctx.isClient ? 'source-map' : 'inline-source-map';
config.devtool = isClient ? 'source-map' : 'inline-source-map';
}
},
},
Expand Down

0 comments on commit 6885006

Please sign in to comment.