Skip to content

Commit

Permalink
Merge branch 'canary' into canary
Browse files Browse the repository at this point in the history
  • Loading branch information
samcx authored May 20, 2024
2 parents eec8c7b + 03026eb commit 95dc6e4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/04-architecture/nextjs-compiler.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {

For advanced use cases, you can configure individual properties for styled-components compilation.

> Note: `minify`, `transpileTemplateLiterals` and `pure` are not yet implemented. You can follow the progress [here](https://github.com/vercel/next.js/issues/30802). `ssr` and `displayName` transforms are the main requirement for using `styled-components` in Next.js.
> Note: `ssr` and `displayName` transforms are the main requirement for using `styled-components` in Next.js.
```js filename="next.config.js"
module.exports = {
Expand All @@ -57,15 +57,15 @@ module.exports = {
// Defaults to ["index"].
meaninglessFileNames?: string[],
// Enabled by default.
cssProp?: boolean,
// Empty by default.
namespace?: string,
// Not supported yet.
minify?: boolean,
// Not supported yet.
// Enabled by default.
transpileTemplateLiterals?: boolean,
// Not supported yet.
// Empty by default.
namespace?: string,
// Disabled by default.
pure?: boolean,
// Enabled by default.
cssProp?: boolean,
},
},
}
Expand Down

0 comments on commit 95dc6e4

Please sign in to comment.