prop-types source is included in dist builds
See original GitHub issueIt would be nice to have source of prop-types
removed from dist. Especially minified version
This helps: https://www.npmjs.com/package/babel-plugin-transform-react-remove-prop-types
In non-minified build node_modules/react-redux/dist/react-redux.js
In minified build node_modules/react-redux/dist/react-redux.min.js
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Why is the system looking for 'react-is` inside `prop-types`?
It is a package, but it's looking for it inside prop-types for some reason. This error started when I imported a React Bootstrap...
Read more >Typechecking With PropTypes - React
PropTypes exports a range of validators that can be used to make sure the data you receive is valid. In this example, we're...
Read more >Shipping PropTypes from Flow definitions in NPM Packages
The precursor to flow is PropTypes, which is built directly into react . ... --out-dir dist", "build:flow": "flow-copy-source src dist" } }.
Read more >Cookbook - React Styleguidist
As React removes all PropTypes in its production build, your code will fail. By default, Styleguidist uses the development build for the dev...
Read more >Sign in - YouTube
Module build failed (from ./node_modules/ source -map-loader/ dist /cjs.js): Error: ENOENT: no such file or directory, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m cool with that. I’ll check into it for the next release.
@artem-malko I know, right! After all that was me who opened the issue 😃