interface Options {
    components?: string | Record<string, string> | string[];
    helpers?: Helper[];
    templates?: string[];
    transforms?: Transform[];
    useBundlerMode?: boolean;
}

Properties

components?: string | Record<string, string> | string[]

Where to find your WebC components. You can specify your WebC components using a single glob, an array of globs, or a hash map in the format component name -> glob.

helpers?: Helper[]

Helper Functions to attach to the WebC instance.

templates?: string[]

Directories where to find your WebC templates.

transforms?: Transform[]

Custom Transforms to attach to the WebC instance.

useBundlerMode?: boolean

Whether to enable WebC bundler mode or not.

Enabling Bundler Mode aggregates all CSS and JS found in all WebC components that belong to the same asset bucket.

Not supported at the moment.