blob: 4c455f3087a283d78ea8cd2e9e1838a4fa73bfcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { fileURLToPath } from "node:url";
import { defineConfig } from "waku/config";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({
middleware: [
"waku/middleware/context",
"waku/middleware/dev-server",
"waku/middleware/handler",
],
unstable_viteConfigs: {
common: () => ({
plugins: [
tsconfigPaths({ root: fileURLToPath(new URL(".", import.meta.url)) }),
],
}),
},
});
|