mirror of https://github.com/nuxt/nuxt.git
show extend option in example
This commit is contained in:
parent
b2cba244b1
commit
3f9aa0f345
|
@ -16,6 +16,11 @@ module.exports = {
|
|||
name: 'img/[name].[ext]?[hash]'
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
extend (config, { dev }) {
|
||||
if (dev) {
|
||||
config.devtool = (dev ? 'eval-source-map' : false)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue