mini-css-extract-plugin
mini-css-extract-plugin copied to clipboard
Support sideEffects: false
Hey friends :wave:
I've got a minimal example of what I'm trying to do here: https://github.com/kentcdodds/tree-shake-css
And I even have a video showing what I'm trying to accomplish here: youtube.com/watch?v=Q_F-c0LEp4I&t=749s&list=PLV5CVI1eNcJgCrPH_e6d57KRUTiDZgs0u
Basically I want to be able to not include css that is being imported by unused modules.
I think that's what #237 was supposed to be about?
Here are some more details: https://github.com/kentcdodds/tree-shake-css/issues/2
@kentcdodds side effect it is part of webpack, you can disable sideEffect for all project.
I know, but I believe that this package does not take that into account. Did you read through the issue and example repo?