File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 28
28
29
29
# Tooling & Telemetry
30
30
31
- /packages /next /src /build / @ timneutkens @ ijjk @ shuding @ huozhi @ ztanner @ vercel/web-tooling
31
+ /packages /next /src /build / @ timneutkens @ ijjk @ shuding @ huozhi @ ztanner @ feedthejim @ vercel/web-tooling
32
32
/packages /next /src /server /lib /router-utils /setup-dev.ts @ timneutkens @ ijjk @ shuding @ huozhi @ feedthejim @ ztanner @ wyattjoh @ vercel/web-tooling
33
33
/packages /next /src /telemetry / @ timneutkens @ ijjk @ shuding @ padmaia
34
34
/packages /next-swc / @ timneutkens @ ijjk @ shuding @ huozhi @ vercel/web-tooling
Original file line number Diff line number Diff line change @@ -301,10 +301,8 @@ export function makeExternalHandler({
301
301
return resolveResult . localRes
302
302
}
303
303
304
- // Forcedly resolve the styled-jsx installed by next.js,
305
- // since `resolveExternal` cannot find the styled-jsx dep with pnpm
306
- if ( request === 'styled-jsx/style' ) {
307
- resolveResult . res = defaultOverrides [ 'styled-jsx/style' ]
304
+ if ( request === 'styled-jsx/style' && ! isAppLayer ) {
305
+ return `commonjs ${ defaultOverrides [ 'styled-jsx/style' ] } `
308
306
}
309
307
310
308
const { res, isEsm } = resolveResult
You can’t perform that action at this time.
0 commit comments