Skip to content

Conversation

gingur
Copy link

@gingur gingur commented Jun 24, 2021

Move react to peerDependency

Specifying react as a dependency can cause multiple versions of React to be present in a single consumer build if there is a semver mismatch and npm/yarn is unable to dedupe.

Support react@16

AFAIK this library works just fine on react@16, so specifying a semver range that includes 16.

Fix npm links

The links specified in package.json were pointing to a non-existing repository on https://www.npmjs.com/package/wired-elements-react

Add sideEffects

Specifying "sideEffects": false in the package.json will enable bundlers like webpack to tree-shake the module.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants