mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
fix(vite): optimise vue
by default (#3997)
This commit is contained in:
parent
e1b6e4d6fe
commit
fdd6a91a51
@ -53,7 +53,8 @@ export async function bundle (nuxt: Nuxt) {
|
|||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
entries: [
|
entries: [
|
||||||
resolve(nuxt.options.appDir, 'entry.ts')
|
resolve(nuxt.options.appDir, 'entry.ts')
|
||||||
]
|
],
|
||||||
|
include: ['vue']
|
||||||
},
|
},
|
||||||
css: resolveCSSOptions(nuxt),
|
css: resolveCSSOptions(nuxt),
|
||||||
build: {
|
build: {
|
||||||
|
Loading…
Reference in New Issue
Block a user