-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Skip postcss config location resolving in node_modules #60697
Skip postcss config location resolving in node_modules #60697
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @timneutkens and the rest of your teammates on Graphite |
…config_location_resolving_in_node_modules
enable_typescript_transform: Some(tsconfig), | ||
enable_mdx_rs, | ||
decorators: Some(decorators_options), | ||
rules: vec![ | ||
( | ||
foreign_code_context_condition, | ||
module_options_context.clone().cell(), | ||
foreign_code_module_options_context.cell(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was a bug before too
enable_typescript_transform: Some(tsconfig), | ||
enable_mdx_rs, | ||
decorators: Some(decorators_options), | ||
rules: vec![ | ||
( | ||
foreign_code_context_condition, | ||
module_options_context.clone().cell(), | ||
foreign_code_module_options_context.cell(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was a bug before too
Stats from current PRDefault BuildGeneral
Client Bundles (main, webpack)
Legacy Client Bundles (polyfills)
Client Pages
Client Build Manifests
Rendered Page Sizes
Edge SSR bundle Size
Middleware size
Next Runtimes
|
Tests Passed |
What?
Skip postcss config resolving in node_modules for Turbopack. This matches current Next.js on webpack closer as that only resolves the postcss config from the project root. The additional feature Turbopack has is that it can find a postcss config relative to the css being compiled. This is useful for e.g. reducing the amount of overhead certain postcss plugins that only have to run against a single file take (i.e. Tailwindcss).
Depends on github.com/vercel/turborepo/pull/7012 landing first.
Closes NEXT-2109