Closed
Description
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.
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.
Metadata
Metadata
Assignees
Labels
No labels