import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; import { sentryVitePlugin } from "@sentry/vite-plugin"; // https://vitejs.dev/config/ export default defineConfig({ define: { '__VITE_IS_DEV_MODE__': JSON.stringify(true), '__VITE_ENVIRONMENT__': JSON.stringify('development') }, plugins: [ react(), sentryVitePlugin({ org: "mori-style-sentry-test", project: "mori-widget", url: "https://sentry.hamravesh.com/" }) ], resolve: { alias: { "@": "/src", "~": "/src" } }, build: { rollupOptions: { input: { main: "./index.html" } } }, server: { port: 3000, open: true } });