zodern / melte

Svelte compiler for Meteor with built in tracker integration and HMR
MIT License
32 stars 14 forks source link

Svelte 4? #30

Open thoennes opened 7 months ago

thoennes commented 7 months ago

Possible?

Sergeant61 commented 6 months ago

Hello, I'm wondering too, I tried it recently but it couldn't get the project up and running. It's even coming in Svelte 5, can we consider that too? I would like to help with this but I'm not sure how?

zodern commented 2 months ago

There's two issues with supporting svelte 4:

thoennes commented 2 months ago

Is there anything I could do to help?

-- unreal

On Thu, 21 Mar 2024 at 7:51 AM, zodern @.***> wrote:

There's two issues with supporting svelte 4:

  • It requires a newer version of Node, which requires Meteor 3
  • It requires Meteor's resolver to support the exports field in package.json files, which has not been implemented

— Reply to this email directly, view it on GitHub https://github.com/zodern/melte/issues/30#issuecomment-2010600499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5S3ZLVEUB5V5KRDUMOYDYZHZEVAVCNFSM6AAAAAA62V6SIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQGYYDANBZHE . You are receiving this because you authored the thread.Message ID: @.***>

NigelCunningham commented 2 weeks ago

Thanks for your work!

I've successfully upgraded to Meteor 3, but trying to then upgrade to Svelte 4 gets me no errors but no content loaded. Would that be due to the issue mentioned above "It requires Meteor's resolver to support the exports field in package.json files, which has not been implemented"?

zodern commented 2 weeks ago

I'm not sure. My understanding is svelte 4 won't work in bundlers that don't support the exports field. Though svelte 4 also changed the compiler api and I haven't updated melte.

NigelCunningham commented 2 weeks ago

Thanks for the reply. Wish I could help but I'm no expert in these things.