From 5dfdd73cf54812de442b3392b10bee004bddad16 Mon Sep 17 00:00:00 2001 From: Bauke Date: Sun, 26 Mar 2023 14:33:17 +0200 Subject: [PATCH] Update public directory paths for Vite. --- source/manifest.ts | 2 +- source/options/index.html | 2 +- vite.config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/manifest.ts b/source/manifest.ts index 18a06b2..5c9c3c5 100644 --- a/source/manifest.ts +++ b/source/manifest.ts @@ -15,7 +15,7 @@ export default function createManifest( }; const icons = { - 128: 'assets/queue.png', + 128: 'queue.png', }; manifest.icons = icons; diff --git a/source/options/index.html b/source/options/index.html index 8f725ef..5929baa 100644 --- a/source/options/index.html +++ b/source/options/index.html @@ -6,7 +6,7 @@ Queue - + diff --git a/vite.config.ts b/vite.config.ts index 2a65d71..9095b1e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -46,11 +46,11 @@ export default defineConfig({ // See vite-plugin-web-extension for documentation. // https://github.com/aklinker1/vite-plugin-web-extension webExtension({ - assets: 'assets', browser: targetBrowser, manifest: () => createManifest(targetBrowser), webExtConfig, }), ], + publicDir: 'source/assets', root: sourceDir, });