GithubHelp home page GithubHelp logo

Move to Parcel 2 about examples HOT 3 OPEN

parcel-bundler avatar parcel-bundler commented on June 15, 2024
Move to Parcel 2

from examples.

Comments (3)

DeMoorJasper avatar DeMoorJasper commented on June 15, 2024 3

Yes, we should probably update these at some point

from examples.

mvduin avatar mvduin commented on June 15, 2024 2

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. :-(

from examples.

talentlessguy avatar talentlessguy commented on June 15, 2024

@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)

from examples.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.