To see this bug in action:
- Clone this repo
- Install dependencies with
yarn installornpm install - Run
yarn start:treeshake - Visit
localhost:10001
If the react app (defined in main.jsx) is rendering correclty, you should see: "Hello, World!" inside of an <h1> tag
This is "fixed" by disabling treeshaking, which you can do:
yarn start:notreeshake