Skip to content

Commit

Permalink
fix: revert upgrade to nuxt v3.2.0 (#1692)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 9, 2023
1 parent 44c3dd7 commit 9578ed1
Show file tree
Hide file tree
Showing 5 changed files with 368 additions and 477 deletions.
9 changes: 9 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,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'
},
},
},
},
},
postcss: {
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@iconify-json/ri": "^1.1.4",
"@iconify-json/twemoji": "^1.1.10",
"@iconify/utils": "^2.0.12",
"@nuxt/devtools": "^0.1.0",
"@nuxtjs/color-mode": "^3.2.0",
"@nuxtjs/i18n": "8.0.0-beta.9",
"@pinia/nuxt": "^0.4.6",
Expand Down Expand Up @@ -107,6 +106,7 @@
"devDependencies": {
"@antfu/eslint-config": "^0.34.1",
"@antfu/ni": "^0.19.0",
"@nuxt/devtools": "^0.1.0",
"@types/chroma-js": "^2.1.4",
"@types/file-saver": "^2.0.5",
"@types/fnando__sparkline": "^0.3.4",
Expand All @@ -119,7 +119,7 @@
"esno": "^0.16.3",
"fs-extra": "^11.1.0",
"lint-staged": "^13.1.0",
"nuxt": "3.2.0",
"nuxt": "3.1.1",
"prettier": "^2.8.3",
"simple-git-hooks": "^2.8.1",
"typescript": "^4.9.5",
Expand Down Expand Up @@ -149,7 +149,9 @@
"@tiptap/extension-paragraph": "2.0.0-beta.204",
"@tiptap/extension-strike": "2.0.0-beta.204",
"@tiptap/extension-text": "2.0.0-beta.204",
"vue": "3.2.45"
"vitest>vite": "^3.2.5",
"@nuxt/kit": "^3.1.2",
"@nuxt/schema": "^3.1.2"
}
},
"simple-git-hooks": {
Expand Down
Loading

0 comments on commit 9578ed1

Please sign in to comment.