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

Move to Parcel 2 #51

Open
talentlessguy opened this issue May 10, 2021 · 3 comments
Open

Move to Parcel 2 #51

talentlessguy opened this issue May 10, 2021 · 3 comments

Comments

@talentlessguy
Copy link

Are there plans on moving examples to parcel v2?

@DeMoorJasper
Copy link
Member

Yes, we should probably update these at some point

@talentlessguy
Copy link
Author

talentlessguy commented May 13, 2021

@DeMoorJasper that would be awesome! I'm trying to set up one of my projects with Parcel 2 but because of the docs being too raw at the moment it's not that easy

having some real examples would be cool :D

(esp using Parcel 2 API in Node)

@mvduin
Copy link

mvduin commented Oct 4, 2023

Two and a half years later... examples still not updated.

I discovered Parcel through https://en.parceljs.org/rust.html, scrolled down without noticing the line at the top about v1/v2, followed the link to the rust-cargo example in this repository...

Running "npm i" gave 14 deprecation warnings and warned about 56 vulnerabilities (44 moderate, 12 high), which is already kinda yikes but I was impressed with how easy and fast it was. Ran into the issue that parcel crashed when editing a source file in vim, found an old github issue for it where people reported the bug is fixed in v2 (it's not btw) which is how I finally discovered that the examples were still using an obsolete version of Parcel that hasn't been maintained in three years.

So then I tried updating the rust examples to Parcel v2, and after doing some trivial fixes I get

@parcel/core: No transformers found for add/src/lib.rs.

showing a config file that indeed contained no rule for *.rs or any other mention of rust or cargo. Checked the v2 documentation... No mention of rust in the v2 migration guide, rust not listed in the list of languages supported, no match for "rust" in the transformer plugins search, no useful google results.

I was briefly very enthausiastic about Parcel. Now I just feel the frustration and sadness you feel when discovering something really cool and then discovering it's abandonware. :-(

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

3 participants