Skip to content

Commit 34899cb

Browse files
committed
TEST: remove 'exports' from package.json
1 parent aa103cd commit 34899cb

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

packages/browser/package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
"types": "dist/types/index-es.d.ts",
66
"browser": "./dist/bugsnag.js",
77
"sideEffects": false,
8-
"exports": {
9-
".": {
10-
"types": "./dist/types/index-es.d.ts",
11-
"import": "./dist/index-es.mjs",
12-
"default": "./dist/index-cjs.cjs"
13-
}
14-
},
158
"description": "Bugsnag error reporter for browser JavaScript",
169
"homepage": "https://www.bugsnag.com/",
1710
"repository": {
@@ -27,7 +20,8 @@
2720
"scripts": {
2821
"size": "../../bin/size dist/bugsnag.min.js",
2922
"clean": "rm -fr dist && mkdir dist",
30-
"build": "npm run clean && npm run build:npm",
23+
"prebuild": "npm run clean",
24+
"build": "npm run build:npm",
3125
"build:npm": "rollup --config rollup.config.npm.mjs",
3226
"cdn-upload": "../../bin/cdn-upload dist/*"
3327
},

0 commit comments

Comments
 (0)