From b6f57c708de7004c75790101bbacd85218a8f67c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20=C5=A0est=C3=A1k?= Date: Sun, 22 Oct 2023 22:16:50 +0200 Subject: [PATCH] Get rid of static gzip, as it isn't used anyway --- .github/workflows/build.yaml | 2 +- build.sbt | 2 +- project/plugins.sbt | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e26131d..e3b6783 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -80,7 +80,7 @@ jobs: run: find - name: Compare artifacts - run: diff --exclude="*.gz" -r build/unpacked verification/unpacked + run: diff -r build/unpacked verification/unpacked deploy-to-github-pages: diff --git a/build.sbt b/build.sbt index 3c09327..e6dc763 100644 --- a/build.sbt +++ b/build.sbt @@ -60,7 +60,7 @@ lazy val server = (project in file("server")).settings( scalaJSProjects := Seq(client), scalaJSStage := FullOptStage, Assets / pipelineStages := Seq(scalaJSPipeline), - pipelineStages := Seq(concat, removeLibs, filter, digest, simpleUrlUpdate/*, digest*/, removeUnversionedAssets, gzip, moveLibs), + pipelineStages := Seq(concat, removeLibs, filter, digest, simpleUrlUpdate/*, digest*/, removeUnversionedAssets, moveLibs), digest / includeFilter := "*", digest / excludeFilter := "*.html" || "*.csv" || "*.json" || "*.json.new" || // When sbt-simple-url-update updates path for glyphicons-halflings-regular.woff, it garbles the path for glyphicons-halflings-regular.woff2. diff --git a/project/plugins.sbt b/project/plugins.sbt index 0f4cfeb..a792a8e 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -16,8 +16,6 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2") addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.2.0") -addSbtPlugin("com.typesafe.sbt" % "sbt-gzip" % "1.0.2") - addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.4") addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.5.1")