Comments (4)
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.
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.
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.
(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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parcel-plugin-import-maps.