xiaofuzi / rollup-plugin-less

a less rollup plugin
22 stars 24 forks source link

Do not export CSS as string when output is set to a file path. #6

Open ahoereth opened 8 years ago

ahoereth commented 8 years ago

Adds the possibility to set export to true when it is desired to export the generated CSS as string. This is mostly undesirable because most users will extract all the styles to a single css bundle file. Currently the JS bundle blows up in size because it always includes all the CSS styles no matter which options are set.

xiaofuzi commented 8 years ago

Can not export css as string if the insert option set to be true.

unscriptable commented 6 years ago

👍 for something like this.