Skip to content

Commit d9eaaff

Browse files
lobsterkatieAbhiPrasad
authored andcommitted
ref(build): Split up rollup config code (#4950)
As part of the new build process, a fair amount of new rollup-related code is going to be added. To keep things from getting too unwieldy, this splits the existing code up into modules. It also makes two other small changes, one for consistency and one to differentiate the current rollup code (which is for building bundles) from the future rollup code (which will be for building npm packages): - All plugins are now generated through factory functions (`makeXXXPlugin`). - Both the `makeConfigVariants` function and the individual `rollup.config.js` files have been renamed to make it clear they're for creating bundles. For now all of the resulting modules live in a `rollup` folder at the top level of the repo. In the long run, these would be good candidates to go into an `@sentry-internal/dev-utils` package.
1 parent 6d1fb76 commit d9eaaff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wasm/rollup.bundle.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { makeBaseBundleConfig, makeBundleConfigVariants } from '../../rollup/ind
33
const baseBundleConfig = makeBaseBundleConfig({
44
input: 'src/index.ts',
55
isAddOn: true,
6-
jsVersion: 'es6',
6+
jsVersion: 'es5',
77
licenseTitle: '@sentry/wasm',
88
outputFileBase: 'bundles/wasm',
99
});

0 commit comments

Comments
 (0)