melte icon indicating copy to clipboard operation
melte copied to clipboard

Svelte 4?

Open thoennes opened this issue 1 year ago • 12 comments

Possible?

thoennes avatar Nov 02 '23 10:11 thoennes

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?

Sergeant61 avatar Nov 26 '23 16:11 Sergeant61

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

zodern avatar Mar 20 '24 20:03 zodern

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: @.***>

thoennes avatar Mar 27 '24 05:03 thoennes

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"?

NigelCunningham avatar May 13 '24 03:05 NigelCunningham

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.

zodern avatar May 13 '24 16:05 zodern

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

NigelCunningham avatar May 14 '24 08:05 NigelCunningham