Skip to content

prop-types dependency is missing in package.json #75

Closed
@Finesse

Description

@Finesse

The library package requires prop-types when process.env.NODE_ENV !== 'production' and the prop-types package is not added to package.json. Therefore when I try to build my application using Webpack or Rollup, I get an error saying that the prop-types package is not found.

Version

1.3.2

Expected Behavior

The prop-types package is installed automatically or a peer dependency warning is shown when one installs the reactjs-popup package.

Actual Behavior

No warning is shown, the prop-types package is not installed and a bundling fails.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions