25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vite.config.ts 359B

123456789101112131415161718192021
  1. import {defineConfig} from 'vite';
  2. import react from '@vitejs/plugin-react';
  3. import WindiCSS from 'vite-plugin-windicss';
  4. // https://vitejs.dev/config/
  5. export default defineConfig({
  6. base: '/',
  7. plugins: [
  8. react(),
  9. WindiCSS()
  10. ],
  11. resolve: {
  12. alias: {
  13. '@': '/src/',
  14. },
  15. },
  16. build: {
  17. manifest: true,
  18. sourcemap: true,
  19. }
  20. })