Skip to content

Commit

Permalink
fix: apply default export interop to pages/_app (#43335)
Browse files Browse the repository at this point in the history
Fixes #43330
  • Loading branch information
artechventure committed Nov 24, 2022
1 parent a746597 commit bcb0e28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/next/taskfile.js
Expand Up @@ -2223,7 +2223,11 @@ export async function nextbuildstatic(task, opts) {
export async function pages_app(task, opts) {
await task
.source('pages/_app.tsx')
.swc('client', { dev: opts.dev, keepImportAssertions: true })
.swc('client', {
dev: opts.dev,
keepImportAssertions: true,
interopClientDefaultExport: true,
})
.target('dist/pages')
}

Expand Down

0 comments on commit bcb0e28

Please sign in to comment.