diff options
Diffstat (limited to 'server/frontend/vite.config.ts')
-rw-r--r-- | server/frontend/vite.config.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/server/frontend/vite.config.ts b/server/frontend/vite.config.ts new file mode 100644 index 0000000..4d3fdd1 --- /dev/null +++ b/server/frontend/vite.config.ts @@ -0,0 +1,17 @@ +import { defineConfig } from 'vite'; +import solidPlugin from 'vite-plugin-solid'; +import devtools from 'solid-devtools/vite'; +export default defineConfig({ + plugins: [ + solidPlugin(), + devtools({ + autoname: true + }) + ], + server: { + port: 3000, + }, + build: { + target: 'esnext', + }, +}); |