-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Replace Parcel (or write a Parcel plugin to copy a list of static files) #2487
Comments
I've been thinking about this too. Parcel v2's development appeared to have stalled a bit without an update since June 2020 - which made me hesitant to consider suggesting that we switch to it, but it looks like there was a Beta 2 last week. It's still 'Beta' though, so I'm not sure if that's something we should consider including with H5BP until it has a stable release. There's https://github.com/vitejs/vite which could be considered too. I've personally not used it, but the feature-set looks great. In any case, I'm keen to move away from using Parcel v1. |
+1 for vite Also vite have something similar to |
Parcel v2 Release Candidate 1 has just dropped! |
Oh, we should try it out, that would be great. |
Closes #2487 (although we should discuss whether or not we want to wait for the full release of 2.0.0)
#2581 drove me crazy, so at this point I'm voting we come up with a replacement for parcel. The stuff parcel does is great and would serve as a nice foundation for someone looking to dip their toes into modern app development. The thing is, I can't tell the stupid thing to copy files not referenced in the HTML without writing a plugin, so a bunch of files we would want to ship are not getting picked up in the build process. Deal-breaker, as far as I'm concerned. Hashing the favicon was pretty bad, but not even copying it is worse. The two options I see are:
|
* Proposal: Let's Replace Parcel With Webpack Closes #2487 and #2474 This is just a development server at this point. It hot reloads HTML JS and CSS. That's enough for me. I'm open to contrary opinions. * Updates based on @coliff review * wip * fix merge conflict * removing comment * Final tweaks to docs
https://v2.parceljs.org/getting-started/migration
There are security alerts related to parcel, which we can't remediate with the existing (deprecated) v1 package. We should update it if the new version also allows us to solve #2474 If not, something else?
We have some open issues with main.css and create-html5-boilerplate as well, so maybe this is a proper release point coming together.
The text was updated successfully, but these errors were encountered: