This repository has been archived on 2024-03-17. You can view files and clone it, but cannot push or open issues or pull requests.
woj-ui/vite.config.ts

17 lines
424 B
TypeScript
Raw Normal View History

2023-07-16 19:33:43 +08:00
import { defineConfig } from "vite";
import { sentryVitePlugin } from "@sentry/vite-plugin";
import react from "@vitejs/plugin-react-swc";
2023-07-15 20:55:17 +08:00
// https://vitejs.dev/config/
export default defineConfig({
2023-07-16 19:33:43 +08:00
build: { sourcemap: true },
plugins: [
react(),
sentryVitePlugin({
authToken: process.env.SENTRY_AUTH_TOKEN,
2023-12-20 23:23:04 +08:00
org: "0x7f",
2023-07-16 19:33:43 +08:00
project: "woj-ui",
}),
],
});