thgh / rollup-plugin-scss

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

Adding the ability to extend the data options #33

Closed jackprosser closed 4 years ago

jackprosser commented 5 years ago

Gives the ability to include things like variables and mixins across the entire scss.

thgh commented 5 years ago

Do you mind changing the implementation to this?

line 12: const prefix = options.prefix ? options.prefix + '\n' : '' line 19: data: prefix + scss

and add documentation to readme and changelog?

jackprosser commented 5 years ago

@thgh Updated that for you. Prefix makes more sense.