fix(vite): optimise vue by default (#3997)

This commit is contained in:
Daniel Roe 2022-03-31 15:10:06 +01:00 committed by GitHub
parent e1b6e4d6fe
commit fdd6a91a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: {