Package APIs
@master/css-astro
Astro integration for Master CSS
Public entrypoints
Connect Master CSS to Astro configuration and request handling. The integration configures build behavior; the middleware entry exposes Astro’s request hook.
Declarations show the public surface of each import path. Referenced type names may be local to the package; import only names listed as exports here. Private implementation is omitted, while constructor restrictions remain visible.
@master/css-astro
Astro integration factory and options.
createMasterCSSAstroIntegration
export declare function createMasterCSSAstroIntegration( specifiedOptions?: MasterCSSAstroIntegrationOptions): AstroIntegration;default
Default export of createMasterCSSAstroIntegration.
export { createMasterCSSAstroIntegration as default };MasterCSSAstroIntegrationOptions
export type MasterCSSAstroIntegrationOptions = MasterCSSVitePluginOptions;@master/css-astro/middleware
Astro request middleware.
onRequest
declare const onRequest: import("astro").MiddlewareHandler;Using this contract
Use the default integration factory in Astro configuration. See Astro installation for build and middleware setup.