xiaofuzi / rollup-plugin-less

a less rollup plugin
22 stars 24 forks source link

Please add small example to documentation how to set the options #40

Closed inventivejon closed 11 months ago

inventivejon commented 3 years ago

import { rollup } from 'rollup'; import less from 'rollup-plugin-less';

rollup({ entry: 'main.js', plugins: [ less({output: 'rollup.build.css'}) ] });

It was giving me a hard time to find out it was a dict. Maybe others have the issue too ;)