rollup-plugin-sass icon indicating copy to clipboard operation
rollup-plugin-sass copied to clipboard

Docs: Update documentation regarding the `processor` option/feature

Open elycruz opened this issue 2 years ago • 0 comments

This feature has a multitude of uses and actually, also, enables Sass variable exports (as pointed out, further below).

Acceptance Criteria

We need to add an example of this to the main README file and additionally add details about different ways to use the processor option .

Example showing how to export sass/css variables to resulting compiled modules (hint: This is done using 'icss-util', and 'postcss' packages) which should be listed processor option docs:

https://github.com/elycruz/rollup-plugin-sass/blob/f4b2e6457ed52fb2b4ade58c9853ebf124396980/test/index.test.ts#L290-L315

elycruz avatar Sep 17 '22 19:09 elycruz