설정 변경
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user