Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config not loading #30

Open
marianspoiala opened this issue Dec 8, 2021 · 3 comments
Open

Config not loading #30

marianspoiala opened this issue Dec 8, 2021 · 3 comments

Comments

@marianspoiala
Copy link

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: #24 and it works fine.

@gcoakes
Copy link

gcoakes commented Dec 31, 2021

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.

@marcelkorpel
Copy link

instead get a transformer merged to parcel itself so svelte can be included by default.

Any update on that? Is there a discussion upstream?

@dave11mj
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants