Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .size-limit.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,25 @@ 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',
gzip: true,
limit: '100 KB',
},
{
name: '@sentry/replay - Webpack (gzipped + minified)',
path: 'packages/replay/build/npm/dist/index.js',
import: '{ Replay }',
gzip: true,
limit: '100 KB',
},
{
name: '@sentry/replay - Webpack (minified)',
path: 'packages/replay/build/npm/dist/index.js',
import: '{ Replay }',
gzip: false,
limit: '300 KB',
},
];
11 changes: 1 addition & 10 deletions packages/replay/config/tsconfig.base.json
Original file line numberDiff line numberDiff 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 numberDiff line numberDiff 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"]
}