Do you want to request a feature or report a bug?
What is the current behavior?
webpack@4 can’t tree shaking the
@fortawesome/fontawesome-free-solid, even when I change their
node_modules/@fortawesome/fontawesome-free-solid/package.json adding the
I have following this issue FortAwesome/react-fontawesome#70 making several tests but we can’t find a solution.
Maybe you can help to the FortAwesome’s team to reach a solution.
If the current behavior is a bug, please provide the steps to reproduce.
You can check the bug yourself using this repo: https://github.com/navarroaxel/fa-bundle-bug
What is the expected behavior?
webpack should optimize the
@fortawesome/fontawesome-free-solid library exporting only one icon.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
node@6 or node@8
webpack@3 or webpack@4
OS: Ubuntu 17.10