Unverified Commit bcb0e282 authored by changyoungoh's avatar changyoungoh Committed by GitHub

fix: apply default export interop to pages/_app (#43335)

Fixes https://github.com/vercel/next.js/issues/43330
parent a7465974
...@@ -2223,7 +2223,11 @@ export async function nextbuildstatic(task, opts) { ...@@ -2223,7 +2223,11 @@ export async function nextbuildstatic(task, opts) {
export async function pages_app(task, opts) { export async function pages_app(task, opts) {
await task await task
.source('pages/_app.tsx') .source('pages/_app.tsx')
.swc('client', { dev: opts.dev, keepImportAssertions: true }) .swc('client', {
dev: opts.dev,
keepImportAssertions: true,
interopClientDefaultExport: true,
})
.target('dist/pages') .target('dist/pages')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment