Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CSSOptions

Index

Properties

devSourcemap?: boolean

Enables css sourcemaps during dev

default

false

experimental
lightningcss?: LightningCSSOptions
experimental
modules?: false | CSSModulesOptions
postcss?: string | (ProcessOptions<Document_ | Root_> & { plugins?: AcceptedPlugin[] })
preprocessorOptions?: Record<string, any>
transformer?: "lightningcss" | "postcss"

Using lightningcss is an experimental option to handle CSS modules, assets and imports via Lightning CSS. It requires to install it as a peer dependency. This is incompatible with the use of preprocessors.

default

'postcss'

experimental