sirc
2025-11-21 feecc934ad8ffe02066cd558f6182df703b85edd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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({
  base: './',
  plugins: [useVitePluings()],
  css: {
    postcss: {
      plugins: [Autoprefixer()],
    },
  },
  resolve: {
    alias: {
      '@': fileURLToPath(new URL('./src', import.meta.url)),
    },
  },
});