Is there anything in Sprockets 4 to use like Propshaft has?
config.assets.excluded_paths
You can however exempt directories that have been added through the config.assets.excluded_paths. This is useful if you're for example using app/assets/stylesheets exclusively as a set of inputs to a compiler like Dart Sass for Rails, and you don't want these input files to be part of the load path. (Remember you need to add full paths, like Rails.root.join("app/assets/stylesheets")).
So it can be used together with Dartsass-rails Configuring Builds and therefore everything under stylesheets asset pipeline handled by dart sass?
Figured it out:
config.assets.precompile(then sprockets not handles them);manifest.jsis added build folder, file content:So the asset pipeline works like this: dartsass compiles scss files to css and puts in
/buildfolder and sprocets uses it.