설정 변경

This commit is contained in:
focp212@naver.com
2025-11-10 10:39:50 +09:00
parent 7a312dacc1
commit 24d0b38e5e
6 changed files with 7 additions and 91 deletions

View File

@@ -1,7 +1,5 @@
import baseConfig from './vite.config.mjs';
import { defineConfig } from 'vite';
import { sentryVitePlugin } from '@sentry/vite-plugin';
const rollupExternalModules = {
tests: (id) => /.*\.test\.(ts|tsx)$/.test(id) || /.*\.spec\.(ts|tsx)$/.test(id),
};
@@ -29,23 +27,6 @@ export default ({ mode }) => {
},
plugins: [
...base.plugins,
sentryVitePlugin({
org: 'medea-cc',
project: 'javascript-react',
authToken: process.env.SENTRY_AUTH_TOKEN,
sourcemaps: {
filesToDeleteAfterUpload: '**/*.js.map',
},
bundleSizeOptimizations: {
excludeDebugStatement: true,
// Only relvant if you added `browserTracingIntegration`
excludePerformanceMonitoring: true,
// Only relevant if you added `replatIntegration`
excludeReplayIframe: true,
excludeReplayShadowDom: true,
excludeReplayWorker: true,
},
}),
],
});
};