Undo in assets:clobber What You Do in assets:precompile
10-Nov-2023 856
As a best practice, when you enhance your Rails app’s assets:precompile task to build static assets that can be served faster than if they needed to be compiled at runtime, you should also enhance assets:clobber to remove the artifacts you create.Rails built in precompile task will build assets by running CSS and JavaScript through preprocessors, combine them into a single file (or more, depending on setup), and give them file names with SHA sums.
Undo in assets:clobber What You Do in assets:precompile #ruby #rubydeveloper #rubyonrails #assets:clobber #assets:precompile #assets:clobber https://rubyonrails.ba/link/undo-in-assets-clobber-what-you-do-in-assets-precompile