next.js
4b23c7b0 - [next] use `tsconfig.build.json` for production build (#76373)

Commit
302 days ago
[next] use `tsconfig.build.json` for production build (#76373) ### Why? The types of unit tests and stories were included in the package. Exclude them by using `tsconfig.declaration.json` when `pnpm run types` during production build. | Before | After | |--------|--------| | ![CleanShot 2025-02-22 at 18 53 43@2x](https://github.com/user-attachments/assets/4e926395-4c53-4d82-aaf9-e7aa03124294) | ![CleanShot 2025-02-22 at 19 09 37@2x](https://github.com/user-attachments/assets/9a4d3fbc-f5b8-421e-9cb5-d8d0aa1d7509) | Closes NDX-747 --------- Co-authored-by: Sebastian Sebbie Silbermann <sebastian.silbermann@vercel.com>
Author
Parents
Loading