Skip to content

Commit

Permalink
Update client.js
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Oct 9, 2019
1 parent 2213b9c commit 058e5f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/webpack/src/config/client.js
Expand Up @@ -19,6 +19,10 @@ export default class WebpackClientConfig extends WebpackBaseConfig {
this.isModern = false
}

get devtool () {
return this.dev ? 'cheap-module-eval-source-map' : false
}

getFileName (...args) {
if (this.buildContext.buildOptions.analyze) {
const [key] = args
Expand Down

0 comments on commit 058e5f3

Please sign in to comment.