mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
23 lines
612 B
TypeScript
23 lines
612 B
TypeScript
import { sentryVitePlugin } from "@sentry/vite-plugin";
|
|
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), sentryVitePlugin({
|
|
org: "betterseqta-plus",
|
|
project: "betterseqtaplus-popup"
|
|
})],
|
|
build: {
|
|
//outDir: '../../public/popup-dist',
|
|
rollupOptions: {
|
|
output: {
|
|
assetFileNames: 'client/rsc/[ext]/[name][extname]',
|
|
chunkFileNames: 'client/rsc/[chunks]/[name].[hash].js',
|
|
entryFileNames: 'client/public/client.js'
|
|
}
|
|
},
|
|
|
|
sourcemap: true
|
|
}
|
|
}) |