fix: Location of generated manifest changed in Vite 5, see:

https://vitejs.dev/guide/migration\#manifest-files-are-now-generated-in-vite-directory-by-default
This commit is contained in:
Tom Moor
2023-11-23 09:54:47 -05:00
parent 72c485e0c8
commit 86494461cf

View File

@@ -10,7 +10,7 @@ export type Chunk = {
export type ManifestStructure = Record<string, Chunk>;
export const readManifestFile = (file = "./build/app/manifest.json") => {
export const readManifestFile = (file = "./build/app/.vite/manifest.json") => {
const absoluteFilePath = path.resolve(file);
let manifest = "{}";