Update public directory paths for Vite.
This commit is contained in:
parent
75eddf0e17
commit
5dfdd73cf5
|
@ -15,7 +15,7 @@ export default function createManifest(
|
|||
};
|
||||
|
||||
const icons = {
|
||||
128: 'assets/queue.png',
|
||||
128: 'queue.png',
|
||||
};
|
||||
|
||||
manifest.icons = icons;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Queue</title>
|
||||
<link rel="shortcut icon" href="/assets/queue.png" type="image/png">
|
||||
<link rel="shortcut icon" href="/queue.png" type="image/png">
|
||||
<link rel="stylesheet" href="./index.scss">
|
||||
</head>
|
||||
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue