Closed mahboubii closed 4 years ago
react-hot-loader
shouldn't be a full dependency. Based on some local testing, I think if @justinmc rebuilds with an updated dependency tree then babel (or whatever was doing it) will no longer add the react-hot-loader require into bundle.js; no source changes are required.
Alternately, removing react-hot-loader
entirely could be appropriate. I'm not sure why it's here in the first place.
Since when adding a dev module to prod deps is reckoned a fix? Sorry.
@OnkelTem you're right i didn't dig into the issue and source code to actually fix the problem, this is just to fix the build error.
Is there plans to remove it fully? There hasn't been a release to NPM for a while and I just ran into this issue.
fixes #61