diff --git a/nuxt.config.ts b/nuxt.config.ts index 3418912a..b3efcafd 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -257,14 +257,16 @@ export default defineNuxtConfig({ optionsAPI: false, }, }, + optimizeDeps: { + include: [ + 'magic-regexp', + 'partysocket', + ], + }, }, typescript: { - // TODO: remove nitropack/types when nuxt v3.14 is released hoist: ['vite'], - tsConfig: { - include: ['../app/shims.d.ts'], - }, }, postcss: { diff --git a/tsconfig.json b/tsconfig.json index 8352ac3c..6ae5970c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,9 @@ { "path": "./.nuxt/tsconfig.server.json" }, + { + "path": "./.nuxt/tsconfig.shared.json" + }, { "path": "./.nuxt/tsconfig.node.json" }