mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 14:01:56 +08:00
21 lines
485 B
TypeScript
21 lines
485 B
TypeScript
import reactRefresh from '@vitejs/plugin-react-refresh'
|
|
import tsConfigPath from 'vite-tsconfig-paths'
|
|
import windiCSS from 'vite-plugin-windicss'
|
|
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
reactRefresh(),
|
|
tsConfigPath(),
|
|
windiCSS()
|
|
],
|
|
base: './',
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
additionalData: '@import "src/styles/variables.scss";'
|
|
}
|
|
}
|
|
}
|
|
})
|