Skip to content

Commit 87b8bbb

Browse files
committed
changeset and lint fix
1 parent 4be2f4a commit 87b8bbb

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@opennextjs/cloudflare": minor
3+
---
4+
5+
Bump aws to 3.6.0

packages/cloudflare/src/cli/build/open-next/createServerBundle.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,7 @@ async function generateBundle(
234234
const isAfter141 = buildHelper.compareSemver(options.nextVersion, ">=", "14.1");
235235
const isAfter142 = buildHelper.compareSemver(options.nextVersion, ">=", "14.2");
236236

237-
const isAfter152 = buildHelper.compareSemver(
238-
options.nextVersion,
239-
">=",
240-
"15.2.0",
241-
);
237+
const isAfter152 = buildHelper.compareSemver(options.nextVersion, ">=", "15.2.0");
242238

243239
const disableRouting = isBefore13413 || config.middleware?.external;
244240

packages/cloudflare/src/cli/build/patches/plugins/eval-manifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function inlineEvalManifest(updater: ContentUpdater, buildOpts: BuildOpti
1717
return updater.updateContent("inline-eval-manifest", [
1818
{
1919
field: {
20-
filter: getCrossPlatformPathRegex(String.raw`/next/dist/server/load-manifest\.js$`, {
20+
filter: getCrossPlatformPathRegex(String.raw`/next/dist/server/load-manifest(\.external)?\.js$`, {
2121
escape: false,
2222
}),
2323
contentFilter: /function evalManifest\(/,

0 commit comments

Comments
 (0)