-
Notifications
You must be signed in to change notification settings - Fork 53
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
Mark css files as side effects #963
base: master
Are you sure you want to change the base?
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Pull request analysis by VIZIPI Below you will find who is the most qualified team member to review your code. Reviewers with knowledge related to these changes
Potential missing files from this Pull requestfiles commonly committed with a subset of this pr, but not committed this time. (click to collapse)
Committed file ranks(click to expand)99.49% [package.json] |
Any update on this PR? Can it be merged? |
Hey @desfero nad @cesarenaldi We copy the CSS file after building in Lines 52 to 56 in 0e6459f
I checked the latest version of I always thought that the "sideEffects" is mostly going to be used for tree-shaking. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
it changes the side effect property for all end devs so it needs more investigation before merging! |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Any update here? 🤔 |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Right now production build of parcel (and all other bundlers that take into account
sideEffects
flag) removes thecss
files completely from the bundle.Specifying explicitly that css has side effects would solve the issue.