콘텐츠로 이동

CompilerOptions

Defined in: core/index.ts:520

compiler 네임스페이스 — 라이브러리별 1st-party transform 설정 (@next/swc 호환 surface).

babel-plugin-styled-components / @emotion/babel-plugin 의 1st-party 대응. plugin 등록 없이 옵션만 켜면 동일한 변환 결과를 얻는다.

optional emotion?: boolean | EmotionOptions

Defined in: core/index.ts:530

emotion 1st-party transform. @emotion/babel-plugin / @swc/plugin-emotion 와 동일한 변환 의도.


optional styledComponents?: boolean | StyledComponentsOptions

Defined in: core/index.ts:525

styled-components 1st-party transform. babel-plugin-styled-components / @swc/plugin-styled-components 와 동일한 변환 의도.