Anidetrix / rollup-plugin-styles

🎨 Universal Rollup plugin for styles: PostCSS, Sass, Less, Stylus and more.
https://anidetrix.github.io/rollup-plugin-styles
MIT License
245 stars 43 forks source link

Provide an example how to use cssnano with options #133

Open dilyanpalauzov opened 4 years ago

dilyanpalauzov commented 4 years ago

Rollup-plugin-styles has the minify option, that calls nanocss. Nanocss has a website describing the different plugins. But I do not get how to pass a particular option to nanocss, e.g. to enable or disable the nomalizeWhitespace plugin.

Anidetrix commented 4 years ago

Hi @dilyanpalauzov,

Will do as soon as I'll have some time for this.