Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree shaking clarification #7414

Open
yishay-at-bay opened this issue Oct 1, 2024 · 0 comments
Open

Tree shaking clarification #7414

yishay-at-bay opened this issue Oct 1, 2024 · 0 comments

Comments

@yishay-at-bay
Copy link

Feature to document
Tree shaking

Author(s)

Additional information
In the tree shaking documentation here there is an example that includes the Shopify project. The example lacks some details about the full structure of the files and is a bit hard to understand. It would be great if you can write more about the logic behind the sideEffect flag and maybe even give a full example of a npm package with some css assets that contain side effects and how it is ignored mistakenly by a consumer app if the sideEffect flag is set to false

[ ] I am willing to work on this issue and submit a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant