|
@@ -1,7 +1,11 @@
|
|
|
|
+import { fileURLToPath } from 'node:url'
|
|
import { defineConfig } from 'vite'
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
|
|
|
|
+const ROOT = new URL('../../', import.meta.url)
|
|
|
|
+
|
|
// https://vitejs.dev/config/
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
export default defineConfig({
|
|
|
|
+ envDir: fileURLToPath(ROOT),
|
|
plugins: [vue()],
|
|
plugins: [vue()],
|
|
})
|
|
})
|