thgh / rollup-plugin-scss

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

The ongenerate hook used by plugin css is deprecated. The generateBundle hook should be used instead. #25

Closed zech closed 5 years ago

zech commented 5 years ago

Using the latest version of:

npm i -D rollup-plugin-scss@latest (currently 0.4.0)

triggers the plugin error:

The ongenerate hook used by plugin css is deprecated. The generateBundle hook should be used instead.

when i'm using rollup v1+

This is obviously fixed in the repo in the latest commit but not for the npm package

https://github.com/thgh/rollup-plugin-scss/blob/416047c8beabf44927a7ddf2cc74b29a02c6cae6/index.es.js#L71

Is it possible for you to release the fix to npm as well? Last release was 0.4.0 about a year ago.

Tim

thgh commented 5 years ago

Thanks for the reminder!