There was an error while loading. Please reload this page.
1 parent 624311a commit c4e8dedCopy full SHA for c4e8ded
1 file changed
src/presets/vercel/immutable.ts
@@ -1,7 +1,6 @@
1
-import fsp from "node:fs/promises";
2
import { defu } from "defu";
3
import { glob } from "tinyglobby";
4
-import { join, resolve } from "pathe";
+import { resolve } from "pathe";
5
import { joinURL, withLeadingSlash } from "ufo";
6
import type { Nitro, NitroRouteRules } from "nitro/types";
7
import { writeFile } from "../_utils/fs.ts";
@@ -52,7 +51,6 @@ export async function generateImmutableManifest(nitro: Nitro) {
52
51
if (!isImmutable(pathname)) {
53
continue;
54
}
55
- const contents = await fsp.readFile(join(publicDir, file));
56
const url = joinURL(nitro.options.baseURL, pathname);
57
hashes[url] = ""
58
0 commit comments