Open marianspoiala opened 2 years ago
Just a heads up, I don't intend to continue with that PR. I moved to instead get a transformer merged to parcel itself so svelte can be included by default. Also, my branch for that PR isn't particularly stable. I just made changes to it that might break your setup.
instead get a transformer merged to parcel itself so svelte can be included by default.
Any update on that? Is there a discussion upstream?
instead get a transformer merged to parcel itself so svelte can be included by default.
Any update on that? Is there a discussion upstream?
Any updates on an official @parcel
svelte plugin ? As it stands it seems like Typescript is not supported on it, and the only alternative is forking less known and riskier forks of this transformer like https://www.npmjs.com/package/parcel-transformer-svelte3-plus
Hi,
I've been trying to use this transformer with the latest version of Parcel v2.0.1, but the svelte configuration is not getting picked up.
This is because the API is different for the loadConfig function, it should return the contents, but in your implementation it doesn't. See docs: https://parceljs.org/plugin-system/authoring-plugins#loading-configuration
Out of laziness to fix it myself, I've been using the code in this PR: https://github.com/orlov-vo/parcel-transformer-svelte/pull/24 and it works fine.