GithubHelp home page GithubHelp logo

Comments (4)

FlorianRappl avatar FlorianRappl commented on September 27, 2024

Any reason for sticking with an outdated unsupported bundler? Why not go for Parcel 2, Vite, esbuild, ... you name it?

I don't think it can be added - because even if generally it could be supported, Parcel 1 has no real configuration and there are problems already getting the importmap from the HTML (but even without that requirement it would be pretty difficult).

What I would recommend is to use the parcel-plugin-codegen and parse the HTML / get the dependencies in with this approach.

More details about codegen you can find here: https://dev.to/florianrappl/getting-bundling-superpowers-using-codegen-2no8

Advantage is that this plugin is available for essentially all bundles; making this part of your code quite transportable.

from parcel-plugin-import-maps.

schlichtanders avatar schlichtanders commented on September 27, 2024

thank you for your hint. I was not aware that this is for parcel 1 and outdated. Maybe archive it? That would be a clear sign.

from parcel-plugin-import-maps.

FlorianRappl avatar FlorianRappl commented on September 27, 2024

Yeah agreed (well - all the commits say 4 years and the project itself is still valid / just that it's quite uncommon that people still use Parcel v1; it was a great bundler but it has not received any updates and has fallen behind)

from parcel-plugin-import-maps.

FlorianRappl avatar FlorianRappl commented on September 27, 2024

(the hint with the codegen loader is still valid though - I think this way you can already solve it in P2, too)

from parcel-plugin-import-maps.

Related Issues (1)

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.