mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +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 = {
|
const config = {
|
||||||
name,
|
name,
|
||||||
|
mode: this.options.dev ? 'development' : 'prodoction',
|
||||||
entry: {
|
entry: {
|
||||||
app: null
|
app: null
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user