Skip to content

Commit 6248808

Browse files
authored
fix(nextjs): add missing .js to requestAsyncStorage locations
1 parent 7095502 commit 6248808

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/nextjs/src/config/webpack.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -646,10 +646,10 @@ const POTENTIAL_REQUEST_ASYNC_STORAGE_LOCATIONS = [
646646
'next/dist/client/components/request-async-storage.external.js',
647647
// Introduced in Next.js 15.0.0-canary.180
648648
// https://github.com/vercel/next.js/blob/541167b9b0fed6af9f36472e632863ffec41f18c/packages/next/src/server/app-render/work-unit-async-storage.external.ts
649-
'next/dist/server/app-render/work-unit-async-storage.external',
649+
'next/dist/server/app-render/work-unit-async-storage.external.js',
650650
// Introduced in Next.js 15.0.0-canary.182
651651
// https://github.com/vercel/next.js/blob/f35159e5e80138ca7373f57b47edcaae3bcf1728/packages/next/src/client/components/work-unit-async-storage.external.ts
652-
'next/dist/client/components/work-unit-async-storage.external',
652+
'next/dist/client/components/work-unit-async-storage.external.js',
653653
];
654654

655655
function getRequestAsyncStorageModuleLocation(

0 commit comments

Comments
 (0)