darrenjennings / vue-autosuggest

🔍 Vue autosuggest component.
https://darrenjennings.github.io/vue-autosuggest
MIT License
621 stars 91 forks source link

Update Rollup and plugins #225

Closed djw closed 2 years ago

djw commented 2 years ago

What:

Update rollup and its plugins to their latest versions

Why:

This project needs to be compiled with Node 8 due to its dependency on node-sass version 4.7 (via rollup-plugin-vue v3.0). Later versions of rollup-plugin-vue drop this dependency, allowing us to use newer Node versions.

How:

Rather than just update rollup-plugin-vue, or even just node-sass, I opted to update the whole rollup build system. The UMD and ESM outputs build without errors, so I think this is fine, but happy to take a more conservative approach if you'd prefer.

I've also updated GitHub Actions to use Node 14. There are still some issues on newer versions.

Checklist: