Skip to content

Commit ea095e4

Browse files
kamilogorekAbhiPrasad
authored andcommitted
fix(nextjs): Fix missing types build in install-sentry-from-branch (#4985)
Add missing `yarn build:types` command
1 parent c5fb61b commit ea095e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/nextjs/vercel/install-sentry-from-branch.sh

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ yarn --prod false
2727

2828
echo " "
2929
echo "BUILDING SDK"
30+
# Types are required for any type of build to succeed
31+
yarn build:types
3032
# We need to build es5 versions because `next.config.js` calls `require` on the SDK (to get `withSentryConfig`) and
3133
# therefore it looks for `cjs/index.js`
3234
yarn build:cjs

0 commit comments

Comments
 (0)