Skip to content

Commit

Permalink
Incldue styled-jsx in swc compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Sep 19, 2022
1 parent dc11d77 commit bf34a74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/build/webpack-config.ts
Expand Up @@ -693,6 +693,7 @@ export default async function getBaseWebpackConfig(
/next[\\/]dist[\\/]client/,
/next[\\/]dist[\\/]pages/,
/[\\/](strip-ansi|ansi-regex)[\\/]/,
/styled-jsx[\\/]/,
]

// Support for NODE_PATH
Expand Down

0 comments on commit bf34a74

Please sign in to comment.