 
   defp compiled_file?(file_path) do
     compressors = Application.fetch_env!(:phoenix, :static_compressors)
-    compressed_extensions = Enum.flat_map(compressors, &(&1.file_extensions))
+    compressed_extensions = Enum.flat_map(compressors, & &1.file_extensions)
 
     Regex.match?(@digested_file_regex, Path.basename(file_path)) ||
       Path.extname(file_path) in compressed_extensions ||

    write_manifest(latest, digests, output_path)
  end

  defp write_manifest(latest, digests, output_path) do
    json = %{
      "latest" => latest,
      "version" => @manifest_version,
      "digests" => digests
    }

    manifest_content = Phoenix.json_library().encode!(json)
    File.write!(Path.join(output_path, "cache_manifest.json"), manifest_content)
  end

  defp remove_manifest(output_path) do

    Regex.replace(@stylesheet_url_regex, file.content, fn _, open, url, close ->
      case Regex.run(@quoted_text_regex, url) do
        [_, quote_symbol, url] ->
          open <>
            quote_symbol <> digested_url(url, file, latest, with_vsn?) <> quote_symbol <> close

        nil ->
          open <> digested_url(url, file, latest, with_vsn?) <> close
