import { type RollupCssOptions } from "https://deno.land/x/drollup@2.58.0%2B0.20.0/plugins/css/mod.ts";
Properties
One of:
- A string filename to write all styles to;
- A callback that will be called once generated with three arguments:
styles
: the contents of all style tags combined:"body { color: green }"
;styleNodes
: an array of style objects:[{ lang: "css", content: "body { color: green }" }]
;bundle
: the output bundle object;
false
to disable any style output or callbacks;null
for the default behaviour: to write all styles to the bundle destination where .js is replaced by .css.
optional
include: FilterPatternAll CSS files will be parsed by default, but you can also specifically include files
optional
exclude: FilterPatternAll CSS files will be parsed by default, but you can also specifically exclude files