File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 22 "private" : true ,
33 "scripts" : {
44 "build" : " node ./scripts/verify-packages-versions.js && lerna run --stream --concurrency 1 --sort build" ,
5+ "build:cjs" : " lerna run --stream --concurrency 1 --sort build:cjs" ,
56 "build:dev" : " lerna run --stream --concurrency 1 --sort build:dev" ,
67 "build:dev:filter" : " lerna run --stream --concurrency 1 --sort build:dev --include-filtered-dependencies --include-filtered-dependents --scope" ,
7- "build:es5" : " lerna run --stream --concurrency 1 --sort build:es5 " ,
8+ "build:es5" : " yarn lerna run --stream --concurrency 1 --sort build:cjs # *** backwards compatibility - remove in v7 *** " ,
89 "build:esm" : " lerna run --stream --concurrency 1 --sort build:esm" ,
910 "build:watch" : " lerna run --parallel build:watch" ,
1011 "build:dev:watch" : " lerna run --parallel build:dev:watch" ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ echo " "
2929echo " BUILDING SDK"
3030# We need to build es5 versions because `next.config.js` calls `require` on the SDK (to get `withSentryConfig`) and
3131# therefore it looks for `dist/index.js`
32- yarn build:es5
32+ yarn build:cjs
3333# We need to build esm versions because that's what `next` actually uses when it builds the app
3434yarn build:esm
3535
You can’t perform that action at this time.
0 commit comments