mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
disable minify for spa
This commit is contained in:
parent
71c34b1d7a
commit
7f12803086
@ -80,7 +80,7 @@ if (options.mode !== 'spa') {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
// Disable minify to get exact results of nuxt start
|
// Disable minify to get exact results of nuxt start
|
||||||
nuxt.options.generate.minify = true
|
nuxt.options.generate.minify = false
|
||||||
// Generate on spa mode
|
// Generate on spa mode
|
||||||
new Generator(nuxt, builder).generate({ build: true }).then(() => {
|
new Generator(nuxt, builder).generate({ build: true }).then(() => {
|
||||||
if (!nuxt.options.dev) {
|
if (!nuxt.options.dev) {
|
||||||
|
Loading…
Reference in New Issue
Block a user