ericclemmons / click-to-component

Option+Click React components in your browser to instantly open the source in VS Code
MIT License
1.94k stars 75 forks source link

Prevent bundle from being included in prod build #50

Closed dcastil closed 2 years ago

dcastil commented 2 years ago

Just saw that the package contents were included in production because the package is not marked as side-effect-free. I added the flag so that rollup and webpack remove the package contets from production.

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: ee0596d731ab29c5ffbacb701a965a948a00f901

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------------------ | ----- | | click-to-react-component | Patch | | remix-5961 | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR