amoutonbrady/solid-heroicons

Upgrade to rollup 3

amoutonbrady opened this issue · 4 comments

I tried to upgrade to rollup 3 and its plugins but it appears that somehow that doesn't work.
I'll try to tackle that when I have the time but if anyone wants to contribute that would be lovely!

is the issue assigned to anyone?

@MaverickDe no, it's not :)

Would you like to give it a shot?

Yeah I would love to. But I would want in-depth explanation about the issue

Sure! So basically what you have to do is run the following command:

  • Be on node@19 (although I suspect lower version of nodes probably produce the same outcome)
  • pnpm up -Li which will ask you which dependencies you want to upgrade
  • Select rollup 3+ and its plugin
  • Run pnpm build and it should yell at you about rollup-preset-solid not being a module or something like that :)

Hope that helps!