lightningcss set custom options #64580
Replies: 4 comments
-
How has there been no answer to this? We can turn on Lightning but there's no option to configure? |
Beta Was this translation helpful? Give feedback.
-
Bumping this as well. PostCSS is the only bottleneck we have in our compilation times. We rely on it for stuff like custom media and mixins, now if we could configure LightningCSS we could build those plugins ourselves. |
Beta Was this translation helpful? Give feedback.
-
Crazy that this hasn't been answered. Really struggling with performance issues that have completely soured my relationship with NextJS. Turbopack seems to be faster but #64509 is a blocker. @timneutkens stated in the issue that it's been fixed with a configuration option but I can find zero information about how you configure Lightning CSS in both the NextJS and Turborepo docs. Please for the love of your paying Vercel customers start to triage and resolve these large NextJS issues that have been outstanding for months and sometimes years. Justifying the use of NextJS is getting harder by the day. |
Beta Was this translation helpful? Give feedback.
-
I support this discussion, my team needs to change the pattern of CSS modules after switching to Turbopack, there are no problems with this in Vite, and I would like it to be easy to configure in NextJS too. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am want to add custom trasnforms and would like to know how to pass lightning css options when
useLightningcss: true
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions