diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2025-04-28 18:03:28 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2025-04-28 18:03:28 +0200 |
| commit | 0539d6963ebedd554cd3cd36b6c94df9659d6a6b (patch) | |
| tree | 9408c7928d0725b114d0adfa811ba2bb3859f495 /vite.config.ts | |
| download | rustberry-frontend-master.tar.gz rustberry-frontend-master.tar.zst rustberry-frontend-master.zip | |
Simple frontend version with mock API
Diffstat (limited to 'vite.config.ts')
| -rw-r--r-- | vite.config.ts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..692c9bf --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,25 @@ +import { defineConfig } from "vite"; +import solidPlugin from "vite-plugin-solid"; +import Pages from "vite-plugin-pages"; + +export default defineConfig({ + plugins: [ + Pages({ + dirs: ["src/pages"], + }), + solidPlugin(), + ], + css: { + modules: { + localsConvention: "dashesOnly", + }, + }, + resolve: { + alias: { + "@": new URL("./src", import.meta.url).pathname, + }, + }, + build: { + target: "esnext", + }, +}); |
