CMU Coding Bootcamp
1import { defineConfig } from "vite";
2import react from "@vitejs/plugin-react";
3import tailwindcss from "@tailwindcss/vite";
4
5// https://vite.dev/config/
6export default defineConfig({
7 define: {
8 global: "globalThis",
9 },
10 server: {
11 allowedHosts: ["project.coded.codes"],
12 },
13 plugins: [
14 react({
15 babel: {
16 plugins: [["babel-plugin-react-compiler"]],
17 },
18 }),
19 tailwindcss(),
20 ],
21});