Skip to content

CompilerOptions

This content is not available in your language yet.

Defined in: core/index.ts:737

The compiler namespace — per-library 1st-party transform settings (@next/swc-compatible surface).

The 1st-party counterpart to babel-plugin-styled-components / @emotion/babel-plugin. Enabling the option alone, without registering a plugin, produces the same transform result.

optional emotion?: boolean | EmotionOptions

Defined in: core/index.ts:748

emotion 1st-party transform. Same transform intent as @emotion/babel-plugin / @swc/plugin-emotion.


optional styledComponents?: boolean | StyledComponentsOptions

Defined in: core/index.ts:743

styled-components 1st-party transform. Same transform intent as babel-plugin-styled-components / @swc/plugin-styled-components.