feat: add config.json for deployment and update dependencies in bun.lock and nuxt.config.ts

This commit is contained in:
2025-09-30 11:37:24 +02:00
parent f73276df8f
commit 506152a986
3 changed files with 17 additions and 6 deletions

View File

@@ -0,0 +1 @@
{"configPath":"../../.output/server/wrangler.json"}

View File

@@ -5,7 +5,7 @@
"name": "nuxt-app",
"dependencies": {
"@antfu/eslint-config": "^5.4.1",
"@iconify-json/devicon": "^1.2.44",
"@iconify-json/devicon": "^1.2.45",
"@iconify-json/logos": "^1.2.9",
"@iconify-json/ph": "^1.2.2",
"@iconify-json/simple-icons": "^1.2.53",
@@ -18,7 +18,7 @@
"@nuxtjs/google-fonts": "^3.2.0",
"@nuxtjs/i18n": "10.1.0",
"@pinia/nuxt": "^0.11.2",
"@tailwindcss/typography": "^0.5.18",
"@tailwindcss/typography": "^0.5.19",
"@vueuse/math": "13.9.0",
"@vueuse/motion": "^3.0.3",
"better-sqlite3": "^12.4.1",
@@ -29,13 +29,13 @@
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"typescript": "^5.9.2",
"vue": "^3.5.21",
"vue": "^3.5.22",
"vue-router": "^4.5.1",
},
"devDependencies": {
"@types/node": "^24.5.2",
"@types/node": "^24.6.0",
"@vueuse/nuxt": "^13.9.0",
"vue-tsc": "^3.0.8",
"vue-tsc": "^3.1.0",
},
},
},

View File

@@ -51,6 +51,12 @@ export default defineNuxtConfig({
},
},
vite: {
build: {
sourcemap: false,
},
},
// Nuxt Color Mode
colorMode: {
preference: 'system',
@@ -108,9 +114,13 @@ export default defineNuxtConfig({
// Nitro
nitro: {
experimental: {
websocket: true,
openAPI: true,
},
preset: 'cloudflare-module',
cloudflare: {
deployConfig: true,
nodeCompat: true,
},
},
// Nuxt Env