class ViteRuby::Builder

def last_build_attrs

Internal: Reads metadata recorded on the last build, if it exists.
def last_build_attrs
  last_build_path.exist? ? JSON.parse(last_build_path.read.to_s) : {}
rescue JSON::JSONError, Errno::ENOENT, Errno::ENOTDIR
  {}
end