rollup-plugin-style
v0.1.0
Published
A style plugin for rollup.
Readme
rollup-plugin-style
A style plugin for rollup.
use
...
plugins: [
...
style(options)
]options
options.include Include file; default
['**/*.css']options.exclude Exclude file; default
[]options.output Output type;
style,inline,file; defaultinline.styleThe style tag will be automatically generated and inserted into head.inlineUse forimport cssText from './xxx.css.fileOutput to file.
options.dest Output file dir.
options.compile = async (code, extname) => {} Compiler handler support.
