Skip to content

Commit e9f6002

Browse files
Fix config
1 parent 6bde1e7 commit e9f6002

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs-site/vite.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { defineConfig } from "vite";
22
import react from "@vitejs/plugin-react";
33
import path from "path";
4+
import { fileURLToPath } from "url";
5+
6+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
47

58
export default defineConfig({
69
plugins: [react()],

0 commit comments

Comments
 (0)