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
Copy file name to clipboardExpand all lines: README.md
+9
Original file line number
Diff line number
Diff line change
@@ -150,6 +150,15 @@ The following plugins provide some extras for the Sprockets Asset Pipeline.
150
150
*`config.assets.manifest` (if used) must now include the manifest filename, e.g. `Rails.root.join('config/manifest.json')`. It cannot be a directory.
151
151
* Two cleanup tasks: `rake assets:clean` is now a safe cleanup that only removes older assets that are no longer used, while `rake assets:clobber` nukes the entire `public/assets` directory. The clean task allows for rolling deploys that may still be linking to an old asset while the new assets are being built.
152
152
153
+
### But what if I want sprockets to generate non-digest assets?
154
+
155
+
You have several options:
156
+
157
+
* Use the [non-digest-assets gem](https://github.com/mvz/non-digest-assets).
158
+
* Use the [sprockets-redirect gem](https://github.com/sikachu/sprockets-redirect).
159
+
* Use the [smart_assets gem](https://github.com/zarqman/smart_assets).
160
+
* Create [a rake task](https://github.com/rails/sprockets-rails/issues/49#issuecomment-20535134) to pre-generate a non-digest version in `public/`.
0 commit comments