Skip to content

Commit 64bf7c7

Browse files
committed
fixup! use turbopack in app-router
1 parent 20b779e commit 64bf7c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/e2e/app-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"openbuild": "node ../../packages/open-next/dist/index.js build --streaming --build-command \"npx turbo build\"",
77
"dev": "next dev --turbopack --port 3001",
8-
"build": "next build",
8+
"build": "next build --turbopack",
99
"start": "next start --port 3001",
1010
"lint": "next lint",
1111
"clean": "rm -rf .turbo node_modules .next .open-next",

packages/cloudflare/src/cli/build/patches/plugins/turbopack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const inlineChunksPatch: CodePatcher = {
1414
name: "inline-turbopack-chunks",
1515
patches: [
1616
{
17-
versions: ">=16.0.0",
17+
versions: ">=15.0.0",
1818
pathFilter: getCrossPlatformPathRegex(String.raw`\[turbopack\]_runtime\.js$`, {
1919
escape: false,
2020
}),

0 commit comments

Comments
 (0)