diff --git a/src/types/vite.d.ts b/src/types/vite.d.ts new file mode 100644 index 000000000..151aa6856 --- /dev/null +++ b/src/types/vite.d.ts @@ -0,0 +1 @@ +/// \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index dd9377416..b2de102a7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,9 +13,10 @@ "resolveJsonModule": true, "sourceMap": true, "baseUrl": ".", + "isolatedModules": true, "types": [ - "webpack-env", - "jest" + "jest", + "vite/client" ], "paths": { "@/*": [