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

build: Flagged module as sideEffects false to enhance tree shaking #355

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alanhe421
Copy link

The current v4 version already supports the ES module, so in order for webpack packaging to work properly for treeshaking, you should mark the sideEffects here.

@alanhe421 alanhe421 changed the title build: Flagged module as side effect free to enhance tree shaking build: Flagged module as sideEffects false to enhance tree shaking Sep 15, 2024
@alanhe421
Copy link
Author

alanhe421 commented Sep 28, 2024

@eranimo

Maybe you can help review the PR?

and merge it.

thanks.

@AlixWang
Copy link

@eranimo

Maybe you can help review the PR?

and merge it.

thanks.

this repo seems inactive, so may be we should find a new one

@alanhe421
Copy link
Author

@eranimo
Maybe you can help review the PR?
and merge it.
thanks.

this repo seems inactive, so may be we should find a new one

ok.

I created a branch for maintenance. It has also been published to npm, and can be used directly if needed.

install

npm i @stacker/redux-logger

links

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

Successfully merging this pull request may close these issues.

2 participants