tinymce / tinymce-svelte

Svelte wrapper
MIT License
23 stars 6 forks source link

Added missing export condition #52

Closed ptrxyz closed 5 months ago

ptrxyz commented 7 months ago

With latest versions of Svelte, this became necessary. More info here: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition

The fix is super simple, simply add the export field to package.json and Svelte/Vite will not throw any warnings (errors in the future).

This is also backwards compatible and does not break any older versions.

ptrxyz commented 5 months ago

Can we get some info what's missing for this to be merged? :)

BlueFoxPrime commented 5 months ago

@lorenzo-pomili hey, maybe you can look at this? The warning is annoying and I am afraid we can not continue to use tinymce if there will be problems with support in the future :(