Skip to content

Commit 73c2893

Browse files
committed
fix limit
1 parent 8a8c598 commit 73c2893

File tree

3 files changed

+15
-22
lines changed

3 files changed

+15
-22
lines changed

.size-limit.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ module.exports = [
6363
gzip: true,
6464
limit: '100 KB',
6565
},
66+
// This entry is only here temporarily and will be replaced once we have proper CDN bundles
6667
{
6768
name: '@sentry/replay index.js',
6869
path: 'packages/replay/build/npm/dist/index.js',
@@ -81,6 +82,6 @@ module.exports = [
8182
path: 'packages/replay/build/npm/dist/index.js',
8283
import: '{ Replay }',
8384
gzip: false,
84-
limit: '100 KB',
85+
limit: '300 KB',
8586
},
8687
];
Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"module": "esnext",
4-
"moduleResolution": "node",
5-
"noImplicitAny": true,
6-
"noEmitOnError": false,
7-
"esModuleInterop": true,
8-
"resolveJsonModule": true,
9-
"skipLibCheck": true,
10-
"target": "es5"
11-
},
2+
"compilerOptions": {},
123
"exclude": ["node_modules"]
134
}

packages/replay/tsconfig.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
{
22
"extends": "./config/tsconfig.core.json",
33
"compilerOptions": {
4+
"module": "esnext",
5+
"moduleResolution": "node",
6+
"noImplicitAny": true,
7+
"noEmitOnError": false,
8+
"esModuleInterop": true,
9+
"resolveJsonModule": true,
10+
"skipLibCheck": true,
11+
"types": ["node", "jest"],
12+
"target": "es5",
413
"paths": {
514
"@test": ["./test"],
6-
"@test/*":
7-
["./test/*"]
8-
},
9-
"types": ["node", "jest"]
15+
"@test/*": ["./test/*"]
16+
}
1017
},
11-
"include": [
12-
"src/**/*.ts",
13-
"test/**/*.ts",
14-
"rollup.config.ts",
15-
"jest.config.ts",
16-
"jest.setup.ts"
17-
],
18+
"include": ["src/**/*.ts", "test/**/*.ts", "rollup.config.ts", "jest.config.ts", "jest.setup.ts"],
1819
"exclude": ["node_modules"]
1920
}

0 commit comments

Comments
 (0)