mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
webpack: use webpack 4 default devtool for client bundle
This commit is contained in:
parent
742ea42f97
commit
8992c1ee36
@ -34,10 +34,6 @@ module.exports = function webpackClientConfig() {
|
||||
config.entry.app = resolve(this.options.buildDir, 'client.js')
|
||||
config.entry.vendor = this.vendor()
|
||||
|
||||
// Config devtool
|
||||
config.devtool = this.options.dev ? 'cheap-source-map' : false
|
||||
config.output.devtoolModuleFilenameTemplate = '[absolute-resource-path]'
|
||||
|
||||
// Env object defined in nuxt.config.js
|
||||
let env = {}
|
||||
each(this.options.env, (value, key) => {
|
||||
|
Loading…
Reference in New Issue
Block a user