We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5765eae commit 00e9641Copy full SHA for 00e9641
packages/next/src/build/swc/options.ts
@@ -197,7 +197,7 @@ function getBaseSWCOptions({
197
relay: compilerOptions?.relay,
198
// Always transform styled-jsx and error when `client-only` condition is triggered
199
styledJsx: compilerOptions?.styledJsx ?? {
200
- useLightningcss: jsConfig.experimental?.useLightningcss ?? false,
+ useLightningcss: jsConfig?.experimental?.useLightningcss ?? false,
201
},
202
// Disable css-in-js libs (without client-only integration) transform on server layer for server components
203
...(!isReactServerLayer && {
0 commit comments