Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow user directory with styled-jsx prefix in next dev #41484

Merged
merged 12 commits into from Oct 19, 2022
2 changes: 1 addition & 1 deletion packages/next/build/webpack-config.ts
Expand Up @@ -71,7 +71,7 @@ const babelIncludeRegexes: RegExp[] = [
/next[\\/]dist[\\/](esm[\\/])?client/,
/next[\\/]dist[\\/](esm[\\/])?pages/,
/[\\/](strip-ansi|ansi-regex)[\\/]/,
/styled-jsx[\\/]/,
/next[\\/]dist[\\/]styled-jsx[\\/]/,
balazsorban44 marked this conversation as resolved.
Show resolved Hide resolved
]

const BABEL_CONFIG_FILES = [
Expand Down