You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vite.config.ts 359B

1 vuosi sitten
1 vuosi sitten
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. })