-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[pigment][next] Warn about unsupported turbo mode in Next.js #41445
Conversation
brijeshb42
commented
Mar 11, 2024
- I have followed (at least) the PR section of the contributing guide.
Netlify deploy previewhttps://deploy-preview-41445--material-ui.netlify.app/ Bundle size report |
424a97a
to
10230f9
Compare
10230f9
to
12c84ae
Compare
const { babelOptions, asyncResolve, ...rest } = pigmentConfig; | ||
export function withPigment(nextConfig: NextConfig, pigmentConfig?: PigmentOptions) { | ||
const { babelOptions = {}, asyncResolve, ...rest } = pigmentConfig ?? {}; | ||
if (process.env.TURBOPACK === '1') { |
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.
Is there a link to where TURBOPACK
is coming from? Would be nice to have a comment about this.
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.
It's undocumented. I had to go through next.js code to find it.