You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proptypes specifications should be stripped from the production build.
The definitions could be wrapped in if (process.env.NODE_ENV !== 'production') clauses, but that won't get replaced in the browserify bundling step.
That probably makes it a feature that could go into https://github.com/JedWatson/react-component-gulp-tasks, but it might be a better idea to switch to Webpack or even Rollup on the long run. @JedWatson, any advice how this should be solved?
The text was updated successfully, but these errors were encountered:
The proptypes specifications should be stripped from the production build.
The definitions could be wrapped in
if (process.env.NODE_ENV !== 'production')
clauses, but that won't get replaced in the browserify bundling step.That probably makes it a feature that could go into https://github.com/JedWatson/react-component-gulp-tasks, but it might be a better idea to switch to Webpack or even Rollup on the long run. @JedWatson, any advice how this should be solved?
The text was updated successfully, but these errors were encountered: