Skip to content

Commit 18d31e5

Browse files
committed
Couple of fixes
1 parent aae7360 commit 18d31e5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

dev-packages/browser-integration-tests/utils/generatePlugin.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ const IMPORTED_INTEGRATION_CDN_BUNDLE_PATHS: Record<string, string> = {
4646

4747
const BUNDLE_PATHS: Record<string, Record<string, string>> = {
4848
browser: {
49-
cjs: 'build/npm/cjs/index.js',
50-
esm: 'build/npm/esm/index.js',
49+
cjs: 'build/npm/cjs/prod/index.js',
50+
esm: 'build/npm/esm/prod/index.js',
5151
bundle: 'build/bundles/bundle.js',
5252
bundle_min: 'build/bundles/bundle.min.js',
5353
bundle_replay: 'build/bundles/bundle.replay.js',
@@ -67,8 +67,8 @@ const BUNDLE_PATHS: Record<string, Record<string, string>> = {
6767
loader_tracing_replay: 'build/bundles/bundle.tracing.replay.debug.min.js',
6868
},
6969
integrations: {
70-
cjs: 'build/npm/cjs/index.js',
71-
esm: 'build/npm/esm/index.js',
70+
cjs: 'build/npm/cjs/prod/index.js',
71+
esm: 'build/npm/esm/prod/index.js',
7272
bundle: 'build/bundles/[INTEGRATION_NAME].js',
7373
bundle_min: 'build/bundles/[INTEGRATION_NAME].min.js',
7474
},
@@ -77,8 +77,8 @@ const BUNDLE_PATHS: Record<string, Record<string, string>> = {
7777
bundle_min: 'build/bundles/[INTEGRATION_NAME].min.js',
7878
},
7979
wasm: {
80-
cjs: 'build/npm/cjs/index.js',
81-
esm: 'build/npm/esm/index.js',
80+
cjs: 'build/npm/cjs/prod/index.js',
81+
esm: 'build/npm/esm/prod/index.js',
8282
bundle: 'build/bundles/wasm.js',
8383
bundle_min: 'build/bundles/wasm.min.js',
8484
},

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"clean": "rimraf build coverage .rpt2_cache sentry-browser-*.tgz",
7272
"fix": "eslint . --format stylish --fix",
7373
"lint": "eslint . --format stylish",
74-
"lint:es-compatibility": "es-check es2020 ./build/{bundles,npm/cjs}/*.js && es-check es2020 ./build/npm/esm/*.js --module",
74+
"lint:es-compatibility": "es-check es2020 ./build/{bundles,npm/cjs/prod}/*.js && es-check es2020 ./build/npm/esm/prod/*.js --module",
7575
"size:check": "cat build/bundles/bundle.min.js | gzip -9 | wc -c | awk '{$1=$1/1024; print \"ES2017: \",$1,\"kB\";}'",
7676
"test": "vitest run",
7777
"test:watch": "vitest --watch",

0 commit comments

Comments
 (0)