Skip to content

Commit 42d3e69

Browse files
committed
Generate integration bundle from @sentry/browser
1 parent 0412f4d commit 42d3e69

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/browser/rollup.bundle.config.mjs

+9
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,19 @@ targets.forEach(jsVersion => {
3333
outputFileBase: () => `bundles/browserprofiling${jsVersion === 'es5' ? '.es5' : ''}`,
3434
});
3535

36+
const moduleMetadataAddonBaseBundleConfig = makeBaseBundleConfig({
37+
bundleType: 'addon',
38+
entrypoints: ['src/integrations/modulemetadata.ts'],
39+
jsVersion,
40+
licenseTitle: '@sentry/browser',
41+
outputFileBase: () => `bundles/modulemetadata${jsVersion === 'es5' ? '.es5' : ''}`,
42+
});
43+
3644
builds.push(
3745
...makeBundleConfigVariants(baseBundleConfig),
3846
...makeBundleConfigVariants(tracingBaseBundleConfig),
3947
...makeBundleConfigVariants(browserProfilingAddonBaseBundleConfig),
48+
...makeBundleConfigVariants(moduleMetadataAddonBaseBundleConfig)
4049
);
4150
});
4251

0 commit comments

Comments
 (0)