@trousers/rolldown
@trousers/rolldown
Default export
SourceExtract static CSS with Rolldown and emit a stylesheet for styles retained in the build.
function trousers({ emitCss, cssFileName, }?: TrousersOptions): Plugin;
TrousersOptions
SourceConfigure the stylesheet emitted by the Rolldown plugin.
export interface TrousersOptions {
emitCss?: boolean;
cssFileName?: string;
}
emitCssDisable CSS for an SSR build that shares the client stylesheet.
cssFileNameOutput path relative to the build directory.