Skip to content

Theemo / @theemo/build / BuildConfig

Interface: BuildConfig ​

Defined in: config.ts:7

Config for building a theme

Properties ​

features? ​

ts
optional features?: BuildFeature[];

Defined in: config.ts:23

Instructions for how to build the features


files? ​

ts
optional files?: string[];

Defined in: config.ts:18

The files that will be concatenated into the output file


layerName? ​

ts
optional layerName?: string;

Defined in: config.ts:30

Wrap the outputted file in a CSS @layer

See ​

https://developer.mozilla.org/en-US/docs/Web/CSS/@layer


lightningcss? ​

ts
optional lightningcss?: 
  | boolean
| Omit<TransformOptions<CustomAtRules>, "code" | "filename">;

Defined in: config.ts:38

Lightning CSS is used for postprocess. You can pass options to lightning css here or turn it off entirely.

Default ​

true


outDir? ​

ts
optional outDir?: string;

Defined in: config.ts:13

Specify the output directory

Default ​

dist