2023-08-04 09:58:04 +08:00
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
import vue from '@vitejs/plugin-vue';
|
|
|
|
import { fileURLToPath, URL } from "node:url";
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [vue()],
|
2023-08-07 16:48:00 +08:00
|
|
|
build:{
|
|
|
|
target:['edge90','chrome90','firefox90','safari15']
|
|
|
|
}
|
2023-08-04 09:58:04 +08:00
|
|
|
});
|