From e5a031154bf52aaa8738feb1e9accfa9a2eac8cf Mon Sep 17 00:00:00 2001 From: zcf0508 Date: Tue, 4 Apr 2023 18:42:25 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/manifest.ts | 5 ----- src/options/Options.vue | 17 ----------------- src/options/index.html | 12 ------------ src/options/main.ts | 8 -------- vite.config.ts | 1 - 5 files changed, 43 deletions(-) delete mode 100644 src/options/Options.vue delete mode 100644 src/options/index.html delete mode 100644 src/options/main.ts diff --git a/src/manifest.ts b/src/manifest.ts index 97b018b..e785862 100644 --- a/src/manifest.ts +++ b/src/manifest.ts @@ -17,11 +17,6 @@ export async function getManifest() { default_icon: './assets/icon-512.png', default_popup: './dist/popup/index.html', }, - options_ui: { - page: './dist/options/index.html', - open_in_tab: true, - chrome_style: false, - }, background: { page: './dist/background/index.html', persistent: false, diff --git a/src/options/Options.vue b/src/options/Options.vue deleted file mode 100644 index 452a1d4..0000000 --- a/src/options/Options.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/src/options/index.html b/src/options/index.html deleted file mode 100644 index dbd67cb..0000000 --- a/src/options/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Options - - -
- - - diff --git a/src/options/main.ts b/src/options/main.ts deleted file mode 100644 index c5aa99c..0000000 --- a/src/options/main.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { createApp } from 'vue' -import App from './Options.vue' -import { setupApp } from '~/logic/common-setup' -import '../styles' - -const app = createApp(App) -setupApp(app) -app.mount('#app') diff --git a/vite.config.ts b/vite.config.ts index ad7b5d2..2f943d1 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -119,7 +119,6 @@ export default defineConfig(({ command }) => ({ rollupOptions: { input: { background: r('src/background/index.html'), - options: r('src/options/index.html'), popup: r('src/popup/index.html'), }, },