27 lines
479 B
TypeScript
27 lines
479 B
TypeScript
import { sentryVitePlugin } from "@sentry/vite-plugin";
|
|
import { resolve } from "path";
|
|
|
|
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
sentryVitePlugin({
|
|
org: "sentry",
|
|
project: "ds-viewer",
|
|
url: "https://sentry.yoshino-s.xyz",
|
|
}),
|
|
],
|
|
|
|
resolve: {
|
|
alias: {
|
|
"@/": `${resolve(__dirname, "src")}/`,
|
|
},
|
|
},
|
|
|
|
build: {
|
|
sourcemap: true,
|
|
},
|
|
});
|