lib/vite_ruby/commands.rb in vite_ruby-3.1.1 vs lib/vite_ruby/commands.rb in vite_ruby-3.1.2
- old
+ new
@@ -21,10 +21,10 @@
builder.build(*args).tap { manifest.refresh }
end
# Public: Removes all build cache and previously compiled assets.
def clobber
- dirs = [config.build_output_dir, config.build_cache_dir, config.vite_cache_dir]
+ dirs = [config.build_output_dir, config.ssr_output_dir, config.build_cache_dir, config.vite_cache_dir]
dirs.each { |dir| dir.rmtree if dir.exist? }
$stdout.puts "Removed vite cache and output dirs:\n\t#{ dirs.join("\n\t") }"
end
# Public: Receives arguments from a rake task.