| 1 | import { make, type NextjsFrameworkOptions } from "./Nextjs.ts"; |
| 2 | |
| 3 | export { |
| 4 | BundleError, |
| 5 | bundleWorker, |
| 6 | CREATE_REQUIRE_BANNER, |
| 7 | makeWranglerExternalsPlugin, |
| 8 | WORKER_ENTRY_NAME, |
| 9 | type BundleWorkerOptions, |
| 10 | type BundleWorkerResult, |
| 11 | } from "./Bundle.ts"; |
| 12 | export { |
| 13 | DEFAULT_COMPATIBILITY_DATE, |
| 14 | DO_QUEUE_BINDING, |
| 15 | DO_QUEUE_CLASS, |
| 16 | hasDoQueueClass, |
| 17 | make, |
| 18 | makeRunnerConfig, |
| 19 | SELF_REFERENCE_BINDING, |
| 20 | toRuntimeModules, |
| 21 | WORKER_ENTRY_MODULE, |
| 22 | type NextjsFrameworkOptions, |
| 23 | type NextjsWorkerConfig, |
| 24 | } from "./Nextjs.ts"; |
| 25 | export { |
| 26 | RunnerError, |
| 27 | runnerPath, |
| 28 | runOpenNextBuild, |
| 29 | type RunnerConfig, |
| 30 | } from "./Runner.ts"; |
| 31 | export * as DevServer from "./DevServer.ts"; |
| 32 | |
| 33 | /** |
| 34 | * The e2e-harness framework factory contract: default-export a |
| 35 | * `(options) => Layer<Framework>` factory that reads the cloudflare worker |
| 36 | * configuration from `options.vite`. |
| 37 | */ |
| 38 | const framework = (options?: NextjsFrameworkOptions) => make(options); |
| 39 | |
| 40 | export default framework; |