mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +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