diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 7d3c8b9767..36763065fa 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -140,5 +140,6 @@ "vitest-fetch-mock": "0.2.2", "vue-eslint-parser": "9.3.1", "vue-tsc": "1.8.8" - } + }, + "type": "module" } diff --git a/packages/frontend/tsconfig.json b/packages/frontend/tsconfig.json index 1dc5beb1a2..4fe703bd99 100644 --- a/packages/frontend/tsconfig.json +++ b/packages/frontend/tsconfig.json @@ -11,7 +11,7 @@ "sourceMap": false, "target": "ES2022", "module": "esnext", - "moduleResolution": "node16", + "moduleResolution": "Bundler", "removeComments": false, "noLib": false, "strict": true, @@ -31,7 +31,6 @@ "@types" ], "types": [ - "vite/client", "reactivity-transform/macros-global" ], "lib": [