mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
webpack: set mode option
This commit is contained in:
parent
eb2e0c5ccd
commit
e0a35f76eb
@ -28,6 +28,7 @@ module.exports = function webpackBaseConfig({ name, isServer }) {
|
||||
|
||||
const config = {
|
||||
name,
|
||||
mode: this.options.dev ? 'development' : 'prodoction',
|
||||
entry: {
|
||||
app: null
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user