From 662a7639930b01e58723a2c8a8eb0eef266e7b9c Mon Sep 17 00:00:00 2001 From: anc95 <1481988258@qq.com> Date: Wed, 14 Jun 2023 17:09:18 +0800 Subject: [PATCH] chore: firefox --- manifest.firefox.json | 3 +++ tsup.config.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/manifest.firefox.json b/manifest.firefox.json index 075fe90..e912995 100644 --- a/manifest.firefox.json +++ b/manifest.firefox.json @@ -32,6 +32,9 @@ "all_frames": true } ], + "host_permissions": [ + "https://*.miao-ya.com/" + ], "background": { "scripts": [ "dist/background/index.js" diff --git a/tsup.config.ts b/tsup.config.ts index 38b6333..c8bc846 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -16,6 +16,7 @@ export default defineConfig({ splitting: false, sourcemap: false, clean: true, + minify: true, define: { 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), },