Upgrading Your Manifest For Sprocket's 4
Last updated
Was this helpful?
Last updated
Was this helpful?
If you're upgrading and it involves bumping the dependency from 3.x to 4.x, you may need to update your manifest.js
.
Since the default logic for determining top-level targets changed, you might find some files that were currently compiled by sprockets for delivery to browser no longer are. You will have to edit the
manifest.js
to specify those files.
The
manifest.js
file is meant to specify what files to use as a top-level target using sprockets methodslink
,link_directory
, andlink_tree
.
You can specify what top-level assets like so:
Read more about the as well as in .