webpack-assets
webpack-assets copied to clipboard
Webpack Assets for Rails
Results
3
webpack-assets issues
Sort by
recently updated
recently updated
newest added
Let's say I have the following configuration: ```ruby Webpack.configure do |config| if Rails.env.production? config.cdn_host = "mycdn.com" config.use_server = false # ... else # ... end end ``` In the views...
To create `config/initializers/webpack.rb` automatically.
This will allow to have a single configuration file which is used by both Rails and Webpack.