Skip to content

Commit 68d6bb4

Browse files
authored
patchNextMinimal is no more required with the latest @opennextjs/aws bump (#579)
1 parent d310919 commit 68d6bb4

File tree

4 files changed

+5
-168
lines changed

4 files changed

+5
-168
lines changed

.changeset/lemon-donkeys-tell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@opennextjs/cloudflare": patch
3+
---
4+
5+
`patchNextMinimal` is no more required with the latest `@opennextjs/aws` bump

packages/cloudflare/src/cli/build/bundle-server.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { inlineEvalManifest } from "./patches/plugins/eval-manifest.js";
1616
import { inlineFindDir } from "./patches/plugins/find-dir.js";
1717
import { patchInstrumentation } from "./patches/plugins/instrumentation.js";
1818
import { inlineLoadManifest } from "./patches/plugins/load-manifest.js";
19-
import { patchNextMinimal } from "./patches/plugins/next-minimal.js";
2019
import { handleOptionalDependencies } from "./patches/plugins/optional-deps.js";
2120
import { patchDepdDeprecations } from "./patches/plugins/patch-depd-deprecations.js";
2221
import { fixRequire } from "./patches/plugins/require.js";
@@ -99,7 +98,6 @@ export async function bundleServer(buildOpts: BuildOptions): Promise<void> {
9998
inlineLoadManifest(updater, buildOpts),
10099
inlineBuildId(updater),
101100
patchDepdDeprecations(updater),
102-
patchNextMinimal(updater),
103101
// Apply updater updates, must be the last plugin
104102
updater.plugin,
105103
] as Plugin[],

packages/cloudflare/src/cli/build/patches/plugins/next-minimal.spec.ts

Lines changed: 0 additions & 76 deletions
This file was deleted.

packages/cloudflare/src/cli/build/patches/plugins/next-minimal.ts

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)