Revert "cleanup conf"

This reverts commit e499c5aee2.
This commit is contained in:
2023-09-16 20:44:58 +02:00
parent e499c5aee2
commit dcdb24c591

View File

@@ -1,8 +1,11 @@
import vue from '@vitejs/plugin-vue';
import * as path from "path";
import { defineConfig } from 'vite';
import { defineConfig, loadEnv } from 'vite';
export default defineConfig({
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '');
return {
plugins: [vue()],
resolve: {
alias: {
@@ -35,4 +38,5 @@ export default defineConfig({
}
}
}
};
})