-
Notifications
You must be signed in to change notification settings - Fork 755
Development react.js and production react.js are identical in react-rails 1.4.0 gem #379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I thought I'd let people minify it with Sprockets / asset pipeline. Is that a bad option for your case? |
Well, the real problem is that after asset compilation in production react.js is still in development mode, because Rails asset pipeline does not set |
Oh! I thought this was enough, but I guess it wasn't: https://github.com/reactjs/react-rails/blob/master/react-builds/webpack.config.js#L23 I'll have to dig deeper in to figure that out |
Thanks for looking at it! React-rails 1.3.3 drops a minified react.js without any |
🎊 #380 |
Shipped in 1.4.1, thanks for the report and let me know how that one goes for you! |
Thanks for fixing it! 1.4.1 works well for us. |
In react-rails 1.3.3, production react.js is minified while development react.js is not minified.
The text was updated successfully, but these errors were encountered: