Skip to content

Commit

Permalink
Removes js maps in assets clobber task (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAugustoRamalhoDuarte authored Apr 30, 2022
1 parent 5e6758f commit d7ab4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/jsbundling/clobber.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace :javascript do
desc "Remove JavaScript builds"
task :clobber do
rm_rf Dir["app/assets/builds/[^.]*.js"], verbose: false
rm_rf Dir["app/assets/builds/[^.]*.{js,js.map}"], verbose: false
end
end

Expand Down

0 comments on commit d7ab4f4

Please sign in to comment.