summaryrefslogtreecommitdiff
path: root/waku.config.ts
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-05-15 04:37:12 +0700
committerpolwex <polwex@sortug.com>2025-05-15 04:37:12 +0700
commitdf7ffaf4cb722890ca3159c3839c61552f7195d3 (patch)
treec87b7e5e7556f370cfb8ea5486c36aabcd8c8d3b /waku.config.ts
all working now...
Diffstat (limited to 'waku.config.ts')
-rw-r--r--waku.config.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/waku.config.ts b/waku.config.ts
new file mode 100644
index 0000000..9692316
--- /dev/null
+++ b/waku.config.ts
@@ -0,0 +1,13 @@
+import { fileURLToPath } from "node:url";
+import { defineConfig } from "waku/config";
+import tsconfigPaths from "vite-tsconfig-paths";
+
+export default defineConfig({
+ unstable_viteConfigs: {
+ common: () => ({
+ plugins: [
+ tsconfigPaths({ root: fileURLToPath(new URL(".", import.meta.url)) }),
+ ],
+ }),
+ },
+});