Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adjust full CDN bundle config
  • Loading branch information
Lms24 committed Jan 18, 2023
commit 432e014028cdc3a501e0bf7e1598a1c0e002f6de
14 changes: 0 additions & 14 deletions packages/tracing/rollup.bundle.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import replace from '@rollup/plugin-replace';

import { makeBaseBundleConfig, makeBundleConfigVariants } from '../../rollup/index.js';

import pkg from './package.json';

const builds = [];

['es5', 'es6'].forEach(jsVersion => {
Expand All @@ -26,16 +22,6 @@ const replayBaseBundleConfig = makeBaseBundleConfig({
licenseTitle: '@sentry/tracing & @sentry/browser & @sentry/replay',
outputFileBase: () => 'bundles/bundle.tracing.replay',
includeReplay: true,
packageSpecificConfig: {
plugins: [
replace({
preventAssignment: true,
values: {
__SENTRY_REPLAY_VERSION__: JSON.stringify(pkg.version),
},
}),
],
},
});

builds.push(...makeBundleConfigVariants(replayBaseBundleConfig));
Expand Down