Skip to content

Commit b736821

Browse files
committed
fix correct spelling
1 parent 2ea7c1c commit b736821

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/cloudflare/src/cli/build/utils/workerd.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ export async function copyWorkerdPackages(options: BuildOptions, nodePackages: M
8282
// Copy full external packages when they use "workerd" build condition
8383
const nextConfig = loadConfig(path.join(options.appBuildOutputPath, ".next"));
8484
const externalPackages =
85-
// @ts-expect-error In Next 14 its under experimental
86-
nextConfig.serverExternalPackages ?? nextConfig.experimental.serverExternalPackages ?? [];
85+
// @ts-expect-error In Next 14 its under experimental.serverComponentsExternalPackages
86+
nextConfig.serverExternalPackages ?? nextConfig.experimental.serverComponentsExternalPackages ?? [];
87+
console.log({ externalPackages });
8788
for (const [src, dst] of nodePackages.entries()) {
8889
try {
8990
const pkgJson = JSON.parse(await fs.readFile(path.join(src, "package.json"), "utf8"));

0 commit comments

Comments
 (0)