1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| import { fileURLToPath, URL } from 'node:url';
|
| import { defineConfig } from 'vite';
| import Autoprefixer from 'autoprefixer';
| import useVitePluings from './vite/plugins';
|
| // https://vite.dev/config/
| export default defineConfig({
| plugins: [useVitePluings()],
| css: {
| postcss: {
| plugins: [Autoprefixer()],
| },
| },
| resolve: {
| alias: {
| '@': fileURLToPath(new URL('./src', import.meta.url)),
| },
| },
| });
|
|