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
So all those files will be digested and put in public path.
Looks like it's not possible to pick only one file or exclude any others from digesting as the config.assets.excluded_paths and config.assets.paths takes directories only.
Looking at https://github.com/rails/cssbundling-rails/pull/147/files It's a nice way to pin javascript files from node packages.
However this example includes all the files that are placed in given directory, ie
Rails.application.config.assets.paths << Rails.root.join("node_modules/bootstrap/dist/js")
will output on
rails assets:reveal
:So all those files will be digested and put in public path.
Looks like it's not possible to pick only one file or exclude any others from digesting as the
config.assets.excluded_paths
andconfig.assets.paths
takes directories only.Is there any way to achieve this?
It's softly connected to https://github.com/rails/propshaft/issues/89`
@brenogazzola did you have a chance to look at paths handling, vide #89 (comment) ?
The text was updated successfully, but these errors were encountered: