redux-logger icon indicating copy to clipboard operation
redux-logger copied to clipboard

build: Flagged module as sideEffects false to enhance tree shaking

Open alanhe421 opened this issue 1 year ago • 3 comments

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 avatar Sep 15 '24 01:09 alanhe421

@eranimo

Maybe you can help review the PR?

and merge it.

thanks.

alanhe421 avatar Sep 28 '24 02:09 alanhe421

@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

AlixWang avatar Oct 17 '24 06:10 AlixWang

@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

  • https://www.npmjs.com/package/@stacker/redux-logger
  • https://github.com/alanhe421/redux-logger/tree/dev

alanhe421 avatar Oct 18 '24 07:10 alanhe421