zodern / melte

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

package.json svelte field #27

Open boomfly opened 1 year ago

boomfly commented 1 year ago

Hello! Is there a way to tell Meteor to use package.json svelte fields to specific packages. For example svelte-notifications

Снимок экрана 2023-01-31 в 13 30 19

By default Meteor will use main field: build/bundle.js and now by strange reasons client produces this error:

Снимок экрана 2023-01-31 в 13 33 32

If i add recompile option for this package Meteor get module field build/bundle.mjs but this is prebuilded too and produced same error.

How to tell Meteor to use svelte field to recompile this package?

zodern commented 1 year ago

Currently the svelte field isn't supported. I am planning to add it, but it might have to wait until after we finish Meteor 3.