visitscotland / vs-component-library

VisitScotland Component Library
Other
0 stars 0 forks source link

Feature/export components rollup with rebrand #352

Closed mjpvs closed 3 months ago

mjpvs commented 4 months ago

This PR has the set of changes to support exporting as a Vite library, as well as some further changes required to support Nuxt. It isn't quite in a state where it can be merged into main - it needs some testing to make sure it doesn't create any issues for the current .com, there is an ongoing performance review which will probably lead to some tweaks to the Vite setup, and the package.json/changelog are currently pointing to the fork to allow for iteration without disrupting our main package which will then be reverted to the main versions for release - but to give you a chance to get some eyes on it before we get even further down the road I've set up this second feature branch as a fork from main to compare to.

Obviously anything that you want to raise here I can update, otherwise once this passes I'll merge it into this feature and raise future PRs against that branch to keep everything tidy before we can merge into actual main.