跳到正文

Interface: CssOptions

Defined in: src/features/css.ts:5

Properties

fileName?

ts
optional fileName: string;

Defined in: src/features/css.ts:18

Specify the name of the CSS file.

Default

ts
'style.css'

splitting?

ts
optional splitting: boolean;

Defined in: src/features/css.ts:12

Enable/disable CSS code splitting. When set to false, all CSS in the entire project will be extracted into a single CSS file. When set to true, CSS imported in async JS chunks will be preserved as chunks.

Default

ts
true

Released under the MIT License.