diff --git a/bun.lockb b/bun.lockb index c38b657..f150504 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/frontend/svelte.config.ts b/frontend/svelte.config.js similarity index 100% rename from frontend/svelte.config.ts rename to frontend/svelte.config.js diff --git a/frontend/vite.config.js b/frontend/vite.config.js deleted file mode 100644 index 470b7aa..0000000 --- a/frontend/vite.config.js +++ /dev/null @@ -1,19 +0,0 @@ -import { sveltekit } from '@sveltejs/kit/vite'; -import { defineConfig } from 'vite'; - -export default defineConfig({ - plugins: [sveltekit()], - server: { - fs: { - strict: false, - allow: ['.', 'node_modules', 'node_modules/@sveltejs/kit/src/runtime/client'] - } - - }, - esbuild: { - jsxFactory: 'h', - jsxFragment: 'Fragment', - // Add TypeScript support - loader: 'tsx', - }, -}); diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts new file mode 100644 index 0000000..224da07 --- /dev/null +++ b/frontend/vite.config.ts @@ -0,0 +1,11 @@ +import { sveltekit } from '@sveltejs/kit/vite'; +import { defineConfig } from 'vite'; + +export default defineConfig({ + plugins: [sveltekit()], + server:{ + fs:{ + strict:false + } + } +});