Skip to content

pantoken / plugins/postcss/flatten-property/src / FlattenPropertyOptions

인터페이스: FlattenPropertyOptions

베타

flattenProperty에 대한 옵션.

속성

injectSelector?

optional injectSelector?: string

베타

추출된 --name: value 선언을 받는 규칙의 선택자.

기본값

":root"


onMissingInitialValue?

optional onMissingInitialValue?: "remove" | "keep"

베타

initial-value 설명자가 없는 @property at-rule을 어떻게 처리할지.

  • "remove" — at-rule을 삭제합니다(기본).
  • "keep" — 출력에 그대로 둡니다.

기본값

"remove"