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:
@@ -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 = "{}";
|
||||
|
||||
Reference in New Issue
Block a user