You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It is recommended to ship source code (*.svelte) to npm according to this documentation, and the rollup plugin would take these source code and recompile them. However, preprocessors would cause some problems in this case:
It requires users to add the same preprocessors to their app's rollup config.
These preprocessors' config should also be the same as the library to keep consistant.
Yeah, this is what sveltejs/component-template#8 was opened for. The ideal solution is going to involve shipping preprocessed but uncompiled Svelte components, so that people don't need to use the same preprocessors as you.
Is your feature request related to a problem? Please describe.
It is recommended to ship source code (*.svelte) to npm according to this documentation, and the rollup plugin would take these source code and recompile them. However, preprocessors would cause some problems in this case:
Describe alternatives you've considered
Very thankful to kaisermann, the solution is quite clearly explained in sveltejs/svelte-preprocess#255 (comment), and I'll do some digging later.
Just wondering If there is other best practice I missed.
How important is this feature to you?
We encountered this problem when developing ByteMD, which is a hackable Markdown editor built with Svelte.
The text was updated successfully, but these errors were encountered: