diff --git a/.size-limit.js b/.size-limit.js index 0275794be815..5c7039ad68cc 100644 --- a/.size-limit.js +++ b/.size-limit.js @@ -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', @@ -81,6 +82,6 @@ module.exports = [ path: 'packages/replay/build/npm/dist/index.js', import: '{ Replay }', gzip: false, - limit: '100 KB', + limit: '300 KB', }, ]; diff --git a/packages/replay/config/tsconfig.base.json b/packages/replay/config/tsconfig.base.json index f0018a2a4b65..6e7bec40758f 100644 --- a/packages/replay/config/tsconfig.base.json +++ b/packages/replay/config/tsconfig.base.json @@ -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"] } diff --git a/packages/replay/tsconfig.json b/packages/replay/tsconfig.json index 497751e1df04..9d6cbe0fa050 100644 --- a/packages/replay/tsconfig.json +++ b/packages/replay/tsconfig.json @@ -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"] }