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

I am new to rails, but I understand the basics but I am stumped. I have searched this issue online and in the GitHub issues to no avail. ```bash bundle...

This processor only applies to CSS assets, so this name makes that clearer, and also has more symmetry with [`Propshaft::Compilers::CssAssetUrls`][1] [1]: https://github.com/rails/propshaft/blob/9ca9fcfc415bdd3d49a2a9d809ca7859a95ec1f9/lib/propshaft/compilers/css_asset_urls.rb#L4

Hi, I'm receiving the following error: `undefined method 'start_with?' for /bootstrap-editable\/.*\.(?:png|gif)$/:Regexp` ``` def valid_asset_uri?(str) # Quick prefix check before attempting a full parse str.start_with?("file://".freeze) && parse_asset_uri(str) ? true : false...

This error is raised when the manifest file is not present. See also #444 . Our use case is different: our app doesn't contain any sprockets assets, and uses webpacker...

Hi, I'm the author of Teaspoon, a javascript test runner for rails, and a new issue showed up recently around some of the assets not being available in "production". Teaspoon...

I recently updated the version of Sprockets from version 3.7.2 to 4.0.2. When I have those files : ``` //dep.js //= require subdep.js ``` ``` //subdep.js console.log('something') ``` ``` //main_test.js.erb...

Ref https://github.com/rails/sprockets-rails/issues/369 Using Sprockets 4, at the moment, the only allowed path for the newly required configuration manifest is the default one (`app/assets/config/manifest.js`) and there is no way to change...

When using an asset manifest file `config.assets.compile = false` the developer might not know that a `assets:precompile` manifest file is being used, or they might not know which file (if...

Is there a plan to make the location of `manifest.js` customizable? I have an app that consists from engines exclusively, so there's no `app` folder at all. There's one non-isolated...

I have a dynamically-generated JS tag, as follows: ``` haml = javascript_include_tag page_specific_javascripts, {"data-turbolinks-track" => true} ``` Changing this to either of the following will not generate the integrity attribute...