Skip to content

Commit 815832c

Browse files
committed
emit cjs for bun
1 parent 14604aa commit 815832c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/bun/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"types",
1616
"types-ts3.8"
1717
],
18-
"main": "build/esm/index.js",
18+
"main": "build/cjs/index.js",
1919
"module": "build/esm/index.js",
2020
"types": "build/types/index.d.ts",
2121
"exports": {

packages/bun/rollup.npm.config.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
import { makeBaseNPMConfig, makeNPMConfigVariants } from '@sentry-internal/rollup-utils';
22

3-
const config = makeNPMConfigVariants(makeBaseNPMConfig());
4-
5-
// remove cjs from config array config[0].output.format == cjs
6-
export default [config[1]];
3+
export default makeNPMConfigVariants(makeBaseNPMConfig());

0 commit comments

Comments
 (0)