vite.config.ts 311 B

1234567891011121314
  1. import { defineConfig } from "vite";
  2. import react from "@vitejs/plugin-react";
  3. // https://vite.dev/config/
  4. export default defineConfig({
  5. plugins: [
  6. react({
  7. babel: {
  8. plugins: [["babel-plugin-react-compiler"]],
  9. },
  10. }),
  11. ],
  12. css: { modules: { localsConvention: "camelCase" } },
  13. });