thgh / rollup-plugin-scss

Rollup and compile multiple .scss, .sass and .css imports
MIT License
134 stars 47 forks source link

Add documentation regarding "includePath" property #64

Closed ashvin777 closed 3 years ago

ashvin777 commented 3 years ago

By looking at the doc, I found that is there is no way to use includePath, however by looking into code that is actually possible.

    scss({
      output: true,
      processor: () => postcss([autoprefixer()]),
      includePaths: [path.join(__dirname, '../../node_modules/'), 'node_modules/']
    }),

Please update the documentation to mention all such properties.

ashvin777 commented 3 years ago

Any update ?

thgh commented 3 years ago

Well, it's mentioned in the first sentence under Options:

Options are passed to the sass compiler

I will add your example to the README