chore: upgrade to Nuxt 3.1 (#1455)

Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
Anthony Fu 2023-01-31 04:07:17 +01:00 committed by GitHub
parent 80a4ec502e
commit 04404e0c0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 505 additions and 1136 deletions

View file

@ -76,6 +76,15 @@ export default defineNuxtConfig({
},
build: {
target: 'esnext',
rollupOptions: {
output: {
manualChunks: (id) => {
// TODO: find and resolve issue in nuxt/vite/pwa
if (id.includes('.svg') || id.includes('entry'))
return 'entry'
},
},
},
},
plugins: [
Inspect(),