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
And also I'm looking to add the compression plugin to generate gzip assets. Currently it's not generating gzip versions of bundles.
I'm wondering how to include this production environment configurations into the webpack config. Do I need to configure separate webpack configs for different environments?
Would love some help here.
The text was updated successfully, but these errors were encountered:
@steverob This gem is only a means to get from the manifest.json plus the webpack generated file to the view helper. I'm currently working on upgrading React on Rails to be based on Webpacker for 9.0.0. Please try out the beta!
@steverob If you trying to make the build size smaller by compression it would be difficult to scale if the app size gets big. May be you should try using CommandChunks Plugin Which lets you seperate
vendor dependencies from application code.
I'm trying to use webpack plugins that are detailed in this blog - https://medium.com/@rajaraodv/two-quick-ways-to-reduce-react-apps-size-in-production-82226605771a -
webpack.DefinePlugin
,webpack.optimize.UglifyJsPlugin
,webpack.optimize.AggressiveMergingPlugin
And also I'm looking to add the
compression
plugin to generate gzip assets. Currently it's not generating gzip versions of bundles.I'm wondering how to include this
production
environment configurations into the webpack config. Do I need to configure separate webpack configs for different environments?Would love some help here.
The text was updated successfully, but these errors were encountered: