Skip to content

Commit

Permalink
fix limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Nov 24, 2022
1 parent 8a8c598 commit 73c2893
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 22 deletions.
3 changes: 2 additions & 1 deletion .size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ module.exports = [
gzip: true,
limit: '100 KB',
},
// This entry is only here temporarily and will be replaced once we have proper CDN bundles
{
name: '@sentry/replay index.js',
path: 'packages/replay/build/npm/dist/index.js',
Expand All @@ -81,6 +82,6 @@ module.exports = [
path: 'packages/replay/build/npm/dist/index.js',
import: '{ Replay }',
gzip: false,
limit: '100 KB',
limit: '300 KB',
},
];
11 changes: 1 addition & 10 deletions packages/replay/config/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
{
"compilerOptions": {
"module": "esnext",
"moduleResolution": "node",
"noImplicitAny": true,
"noEmitOnError": false,
"esModuleInterop": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"target": "es5"
},
"compilerOptions": {},
"exclude": ["node_modules"]
}
23 changes: 12 additions & 11 deletions packages/replay/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"extends": "./config/tsconfig.core.json",
"compilerOptions": {
"module": "esnext",
"moduleResolution": "node",
"noImplicitAny": true,
"noEmitOnError": false,
"esModuleInterop": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"types": ["node", "jest"],
"target": "es5",
"paths": {
"@test": ["./test"],
"@test/*":
["./test/*"]
},
"types": ["node", "jest"]
"@test/*": ["./test/*"]
}
},
"include": [
"src/**/*.ts",
"test/**/*.ts",
"rollup.config.ts",
"jest.config.ts",
"jest.setup.ts"
],
"include": ["src/**/*.ts", "test/**/*.ts", "rollup.config.ts", "jest.config.ts", "jest.setup.ts"],
"exclude": ["node_modules"]
}

0 comments on commit 73c2893

Please sign in to comment.