File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
"private" : true ,
3
3
"scripts" : {
4
4
"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" ,
5
6
"build:dev" : " lerna run --stream --concurrency 1 --sort build:dev" ,
6
7
"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 *** " ,
8
9
"build:esm" : " lerna run --stream --concurrency 1 --sort build:esm" ,
9
10
"build:watch" : " lerna run --parallel build:watch" ,
10
11
"build:dev:watch" : " lerna run --parallel build:dev:watch" ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ echo " "
29
29
echo " BUILDING SDK"
30
30
# We need to build es5 versions because `next.config.js` calls `require` on the SDK (to get `withSentryConfig`) and
31
31
# therefore it looks for `dist/index.js`
32
- yarn build:es5
32
+ yarn build:cjs
33
33
# We need to build esm versions because that's what `next` actually uses when it builds the app
34
34
yarn build:esm
35
35
You can’t perform that action at this time.
0 commit comments