We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa103cd commit 34899cbCopy full SHA for 34899cb
1 file changed
packages/browser/package.json
@@ -5,13 +5,6 @@
5
"types": "dist/types/index-es.d.ts",
6
"browser": "./dist/bugsnag.js",
7
"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
- },
15
"description": "Bugsnag error reporter for browser JavaScript",
16
"homepage": "https://www.bugsnag.com/",
17
"repository": {
@@ -27,7 +20,8 @@
27
20
"scripts": {
28
21
"size": "../../bin/size dist/bugsnag.min.js",
29
22
"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",
31
25
"build:npm": "rollup --config rollup.config.npm.mjs",
32
26
"cdn-upload": "../../bin/cdn-upload dist/*"
33
},
0 commit comments