mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-12-06 19:56:45 +10:30
Merge branch 'BetterSEQTA:main' into main
This commit is contained in:
2 files changed
+10
-2
No files matched your search
@@ -52,7 +52,7 @@ jobs:
|
||||
cd "$RUNNER_TEMP/source-rebuild"
|
||||
npm ci
|
||||
npm run build:firefox
|
||||
diff -qr "$GITHUB_WORKSPACE/dist/firefox" dist/firefox
|
||||
diff -ru "$GITHUB_WORKSPACE/dist/firefox" dist/firefox
|
||||
|
||||
- name: Record publisher version and package checksums
|
||||
id: publisher
|
||||
|
||||
+9
-1
@@ -17,7 +17,7 @@ import { edge } from "./src/manifests/edge.ts";
|
||||
import { firefox } from "./src/manifests/firefox.ts";
|
||||
import { opera } from "./src/manifests/opera.ts";
|
||||
import { safari } from "./src/manifests/safari.ts";
|
||||
import { crx } from "@crxjs/vite-plugin";
|
||||
import { crx, type CrxPlugin } from "@crxjs/vite-plugin";
|
||||
|
||||
const targets: BuildTarget[] = [chrome, brave, edge, firefox, opera, safari];
|
||||
|
||||
@@ -89,6 +89,14 @@ export default defineConfig(({ command, mode: viteMode }) => {
|
||||
fixCrxWorkerLiveReload(),
|
||||
stabilizeCrxDevHmr(),
|
||||
...(command === "build" ? [firefoxStripFunctionProbe()] : []),
|
||||
{
|
||||
name: "stable-manifest-resources",
|
||||
enforce: "post",
|
||||
renderCrxManifest(manifest) {
|
||||
for (const group of manifest.web_accessible_resources ?? []) group.resources.sort();
|
||||
return manifest;
|
||||
},
|
||||
} satisfies CrxPlugin,
|
||||
],
|
||||
root: resolve(repoRoot, "./src"),
|
||||
resolve: {
|
||||
|
||||
Reference in new issue
Block a user