Skip to content

Commit fcb8e42

Browse files
authored
fix: Fix browser dist build (getsentry#1972)
1 parent a765f06 commit fcb8e42

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

.craft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ targets:
99
- name: github
1010
includeNames: /^sentry-.*$/
1111
- name: gcs
12-
includeNames: /*\.js.*$/
12+
includeNames: /.*\.js.*$/
1313
bucket: sentry-js-sdk
1414
paths:
1515
- path: /{{version}}/

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 5.0.1
4+
5+
- [browser] fix: Add missing types
6+
37
## 5.0.0
48

59
This major bump brings a lot of internal improvements. Also, we extracted some integrations out of the SDKs and put them

packages/browser/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@
5555
"webpack": "^4.29.6"
5656
},
5757
"scripts": {
58-
"build": "run-s build:esm build:bundle",
58+
"build": "run-s build:dist build:esm build:bundle",
5959
"build:bundle": "rollup --config",
60+
"build:dist": "tsc -p tsconfig.build.json",
6061
"build:esm": "tsc -p tsconfig.esm.json",
6162
"build:watch": "rollup --config --watch",
6263
"clean": "rimraf dist coverage .rpt2_cache build esm",

packages/browser/rollup.config.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,6 @@ const bundleConfig = {
6565
};
6666

6767
export default [
68-
{
69-
input: 'src/index.ts',
70-
output: {
71-
file: 'dist/index.js',
72-
format: 'cjs',
73-
exports: 'named',
74-
interop: false,
75-
sourcemap: true,
76-
},
77-
external: ['tslib'],
78-
plugins,
79-
},
8068
{
8169
...bundleConfig,
8270
output: {

0 commit comments

Comments
 (0)