You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
504 B
20 lines
504 B
import {defineConfig} from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import path from "path"
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
resolve: {
|
|
extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json'],
|
|
alias: {
|
|
"@": path.resolve("./src")
|
|
}
|
|
},
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
additionalData: `@import '@/assets/style/_global.scss';\n`
|
|
}
|
|
}
|
|
},
|
|
plugins: [vue()]
|
|
})
|
|
|