microsoft / rnx-kit

Modern, scalable tools. Exceptional developer experience.
https://microsoft.github.io/rnx-kit/
MIT License
1.53k stars 98 forks source link

how-to guide for tree-shaking #1280

Open afoxman opened 2 years ago

afoxman commented 2 years ago

Write a how-to guide for enabling tree-shaking through configuration (CLI) or manually.

kelset commented 1 year ago

we do have https://microsoft.github.io/rnx-kit/docs/guides/bundling#tree-shaking and https://microsoft.github.io/rnx-kit/docs/tools/metro-serializer-esbuild but we need more docs to expand more on the usage and reply to FAQs and such

hushizhi commented 1 year ago

we do have https://microsoft.github.io/rnx-kit/docs/guides/bundling#tree-shaking and https://microsoft.github.io/rnx-kit/docs/tools/metro-serializer-esbuild but we need more docs to expand more on the usage and reply to FAQs and such

@kele In other words, why rambundle is not compatible with tree-shaking? Is there any plan to do compatibility in the future?