UNPKG

@aziontech/opennextjs-azion

Version:
12 lines (11 loc) 555 B
/** * This code was originally copied and modified from the @opennextjs/cloudflare repository. * Significant changes have been made to adapt it for use with Azion. */ /** * Inline `evalManifest` as it relies on `readFileSync` and `runInNewContext` * that are not supported by workerd. */ import { type BuildOptions } from "@opennextjs/aws/build/helper.js"; import type { ContentUpdater, Plugin } from "@opennextjs/aws/plugins/content-updater.js"; export declare function inlineEvalManifest(updater: ContentUpdater, buildOpts: BuildOptions): Plugin;