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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Change sideEffects value to boolean #3438

Closed
wants to merge 1 commit into from

Conversation

filipechagas
Copy link

@filipechagas filipechagas commented Feb 16, 2024

As described in Webpack documentation, this field is boolean or string[]

Check
https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #3419 馃

@filipechagas filipechagas requested a review from a team as a code owner February 16, 2024 15:46
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Feb 16, 2024
As described in Webpack documentation, this field is boolean or string[]

Check
https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free
@filipechagas filipechagas changed the title Change sideEffects value to boolean fix: Change sideEffects value to boolean Feb 16, 2024
@filipechagas
Copy link
Author

I see there's already a PR for that #3428 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should sideEffects be boolean false ? esbuild is complaining about it since the 128.0.0 release:
2 participants