|
123456789101112131415161718192021 |
- import {defineConfig} from 'vite';
- import react from '@vitejs/plugin-react';
- import WindiCSS from 'vite-plugin-windicss';
-
- // https://vitejs.dev/config/
- export default defineConfig({
- base: '/',
- plugins: [
- react(),
- WindiCSS()
- ],
- resolve: {
- alias: {
- '@': '/src/',
- },
- },
- build: {
- manifest: true,
- sourcemap: true,
- }
- })
|