sprockets-rails icon indicating copy to clipboard operation
sprockets-rails copied to clipboard

Sprockets Rails integration

Results 81 sprockets-rails issues
Sort by recently updated
recently updated
newest added

In Single Page Application, asset_path resolving is hardest problem with sprockets. I think it can be resolved by providing asset_path helper. For example ``` javascript //=require sprockets_asset_path // in develpment...

I'm seeing a performance regression in development mode between v2.1.3 and v2.1.4. The symptom is the render time for layouts/application increased from 14msec in v2.1.3 to 250msec in v2.1.4. Setting...

I really can't get my head around this. I have some static haml templates that i'm serving up through the asset pipeline. i have added this to my config/application.rb: `config.assets.paths

ref https://github.com/opal/opal-rails/issues/51 cc @wied03 The problem is that serving 50 (or more) assets when debug mode is on can slow down the page load significantly. On the other hand if...

My Rails app has two environments, development and prod. In development, `assets.compile` is true, and in production it's false. `assets.prefix` is set to the same value for both. With sprockets-rails...

Documented here: https://guides.rubygems.org/specification-reference/#metadata Useful for running https://github.com/MaximeD/gem_updater

Some applications or gems don't require sprockets/rails, instead they load sprockets/railtie. This change catches this issue when running tests. ```console $ git checkout v3.5.0 HEAD is now at 5f6d88d Release...

By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/sprockets-rails which makes it quick and easy for someone to check on the...

With a pristine (`rails new`) Rails 8.0 app, the `app/assets/config/manifest.js` file is no longer automatically generated. For engines still using sprockets, that is not a huge issue, because they [have...