From 93bfee057825d864cd2cfb4294596dcf5bcc4734 Mon Sep 17 00:00:00 2001 From: Aaron Klinker Date: Mon, 4 Sep 2023 15:55:29 -0500 Subject: [PATCH] chore: Remove explict icon config from templates Icons are now automatically discovered thanks to aefc8d3 --- templates/react/wxt.config.ts | 9 --------- templates/solid/wxt.config.ts | 9 --------- templates/svelte/wxt.config.ts | 9 --------- templates/vanilla/wxt.config.ts | 12 +----------- templates/vue/wxt.config.ts | 9 --------- 5 files changed, 1 insertion(+), 47 deletions(-) diff --git a/templates/react/wxt.config.ts b/templates/react/wxt.config.ts index 586d2a80..7e57b6b3 100644 --- a/templates/react/wxt.config.ts +++ b/templates/react/wxt.config.ts @@ -3,15 +3,6 @@ import react from '@vitejs/plugin-react'; // See https://wxt.dev/config.html export default defineConfig({ - manifest: { - icons: { - '16': 'icon/16.png', - '32': 'icon/32.png', - '48': 'icon/48.png', - '96': 'icon/96.png', - '128': 'icon/128.png', - }, - }, vite: { plugins: [react()], }, diff --git a/templates/solid/wxt.config.ts b/templates/solid/wxt.config.ts index ec2694b5..64ab5625 100644 --- a/templates/solid/wxt.config.ts +++ b/templates/solid/wxt.config.ts @@ -3,15 +3,6 @@ import Solid from 'vite-plugin-solid'; // See https://wxt.dev/config.html export default defineConfig({ - manifest: { - icons: { - '16': 'icon/16.png', - '32': 'icon/32.png', - '48': 'icon/48.png', - '96': 'icon/96.png', - '128': 'icon/128.png', - }, - }, vite: { build: { target: 'esnext', diff --git a/templates/svelte/wxt.config.ts b/templates/svelte/wxt.config.ts index 2ee3e222..64586a72 100644 --- a/templates/svelte/wxt.config.ts +++ b/templates/svelte/wxt.config.ts @@ -4,15 +4,6 @@ import { svelte, vitePreprocess } from '@sveltejs/vite-plugin-svelte'; // See https://wxt.dev/config.html export default defineConfig({ srcDir: 'src', - manifest: { - icons: { - '16': 'icon/16.png', - '32': 'icon/32.png', - '48': 'icon/48.png', - '96': 'icon/96.png', - '128': 'icon/128.png', - }, - }, vite: { plugins: [ svelte({ diff --git a/templates/vanilla/wxt.config.ts b/templates/vanilla/wxt.config.ts index d50b7252..adde9b20 100644 --- a/templates/vanilla/wxt.config.ts +++ b/templates/vanilla/wxt.config.ts @@ -1,14 +1,4 @@ import { defineConfig } from 'wxt'; // See https://wxt.dev/config.html -export default defineConfig({ - manifest: { - icons: { - '16': 'icon/16.png', - '32': 'icon/32.png', - '48': 'icon/48.png', - '96': 'icon/96.png', - '128': 'icon/128.png', - }, - }, -}); +export default defineConfig({}); diff --git a/templates/vue/wxt.config.ts b/templates/vue/wxt.config.ts index 8125273b..cf3bd505 100644 --- a/templates/vue/wxt.config.ts +++ b/templates/vue/wxt.config.ts @@ -3,15 +3,6 @@ import vue from '@vitejs/plugin-vue'; // See https://wxt.dev/config.html export default defineConfig({ - manifest: { - icons: { - '16': 'icon/16.png', - '32': 'icon/32.png', - '48': 'icon/48.png', - '96': 'icon/96.png', - '128': 'icon/128.png', - }, - }, vite: { plugins: [vue()], },