From f5f2fd3297c59b1a9335d1636901a637bf70b7c8 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Mon, 18 Dec 2023 00:03:28 +0800 Subject: [PATCH] add: build replace-in-file includes html and css --- scripts/build.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build.mjs b/scripts/build.mjs index c1c8521..333449f 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -45,6 +45,8 @@ function replaceString(buildTime) { const replaceResult = replaceInFileSync({ files: [ `${buildDir}/addon/**/*.xhtml`, + `${buildDir}/addon/**/*.html`, + `${buildDir}/addon/**/*.css`, `${buildDir}/addon/**/*.json`, `${buildDir}/addon/prefs.js`, `${buildDir}/addon/manifest.json`,