Repo for reproducing React issues.
-
Blade: Tree shaking: razorpay/blade#959
- Switch branch:
git checkout repro-959
- See
main.bundle.js
in the build directory. You can find all Blade components in the final build even thoughsrc/App.tsx
uses only a Button component. - You can run
npm run build
for generating a new build.
- Switch branch:
-
Next.js: wildcard exports: vercel/next.js#46267
- Switch branch:
git checkout repro-46267
- Check
src/App.tsx
. It's using a deep import defined by the library using wildcard exports. - Run
npm run build
. The project builds successfully with typescript checks. - Next.js throws an error on build with similar config.
- Switch branch: