Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Allow option of choosing sass/scss implementation #288

Closed
TomCaserta opened this issue Jun 26, 2019 · 1 comment
Closed

Allow option of choosing sass/scss implementation #288

TomCaserta opened this issue Jun 26, 2019 · 1 comment

Comments

@TomCaserta
Copy link

TomCaserta commented Jun 26, 2019

What problem does this feature solve?

Since a couple versions back this plugin updated to use sass instead of node-sass. It would be good if the plugin could receive an implementation option for the scss compiler in order for the plugin user to specify what they would like to use.

For my use case I have many plugins (functions) to node-sass that are simply not yet possible with the sass implementation, this means I cannot upgrade to the latest version of this plugin.

This is similar to the option that is available in the sass-loader for webpack: https://github.com/webpack-contrib/sass-loader

What does the proposed API look like?

{
    // ...
    style: {
        preprocessOptions: {
            scss: {
                implementation: require('node-sass'),
            },
        },
    },
}
@znck
Copy link
Member

znck commented Nov 21, 2019

Closing it as it is included in #300.

@znck znck closed this as completed Nov 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants