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
Will generate non-digest files of the files passed in the parameters of the task (`app_sdk.js` and `app_sdk.css` in the example above). Useful if you need some of your assets to be available for developers outside of your application (Javascript SDK for example).
Copy file name to clipboardExpand all lines: lib/sprockets/rails/task.rb
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -83,9 +83,10 @@ def define
83
83
end
84
84
85
85
desc"Compile non-digest files"
86
-
task:generate_nondigest=>:environmentdo |t,args|
87
-
files=args.extras
88
-
raiseMissingParamsError.new("You must pass the files you want to generate nondigests (e.g. rake 'assets:generate_nondigests[file1.js, file2.js]')")iffiles.empty?
raiseMissingParamsError.new("You must pass the files you want to generate nondigests (e.g. rake assets:generate_nondigests['file1.js, file2.js'])")ifargs.files_list.nil?
0 commit comments