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 = {
|
const icons = {
|
||||||
128: 'assets/queue.png',
|
128: 'queue.png',
|
||||||
};
|
};
|
||||||
|
|
||||||
manifest.icons = icons;
|
manifest.icons = icons;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Queue</title>
|
<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">
|
<link rel="stylesheet" href="./index.scss">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -46,11 +46,11 @@ export default defineConfig({
|
||||||
// See vite-plugin-web-extension for documentation.
|
// See vite-plugin-web-extension for documentation.
|
||||||
// https://github.com/aklinker1/vite-plugin-web-extension
|
// https://github.com/aklinker1/vite-plugin-web-extension
|
||||||
webExtension({
|
webExtension({
|
||||||
assets: 'assets',
|
|
||||||
browser: targetBrowser,
|
browser: targetBrowser,
|
||||||
manifest: () => createManifest(targetBrowser),
|
manifest: () => createManifest(targetBrowser),
|
||||||
webExtConfig,
|
webExtConfig,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
publicDir: 'source/assets',
|
||||||
root: sourceDir,
|
root: sourceDir,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue