vite.config.js 300 B

1234567891011121314
  1. /* eslint-disable import/no-extraneous-dependencies */
  2. import { defineConfig } from "vite";
  3. import react from "@vitejs/plugin-react";
  4. export default defineConfig(() => ({
  5. build: {
  6. outDir: "build",
  7. assetsDir: "static/media",
  8. },
  9. server: {
  10. port: 3000,
  11. },
  12. plugins: [react()],
  13. }));