-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Add Parcel Bundler doc #30909
Add Parcel Bundler doc #30909
Conversation
That being said, I'm not sure if this gives any value? I mean, it's the same procedure as webpack. |
Hello,
Not at all. Simply use this You should check with (src/index.js - Parcel 6.14.5):
Thanks, Eric |
@mdo WDYT? |
I'm not a big fan of doing a separate page for all the bundlers 🤔 |
I don't mind having separate pages for key tools and more from the ecosystem. If anything it boosts our visibility and usability across multiple communities and gives folks a solid starting point inside our own docs. |
Pushed a bunch of updates to simplify and standardize:
|
66ea270
to
61d49b5
Compare
@mdo my only problem is listing this and parcel in Getting Started. We should probably add a parent submenu later. Branch rebased. |
{{< highlight json >}} | ||
"scripts": { | ||
"dev": "parcel ./src/index.html", | ||
"prebuild": "rm -rf build", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really like rm -rf
because it doesn't work on Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@XhmikosR See there parcel-bundler/parcel#1234
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'm aware of shx
, but you don't use it here nor there is a comment that this won't work on vanilla Windows cmd :)
Yeah good point. And while we’re thinking about it, what else could we do for guides like this? Are there more languages and tools? |
@mdo not sure but maybe we should land this after the Windows issue is sorted out, and we add a new parent page later. |
@eldk care to take care of the |
Hello @XhmikosR , I have no windows device, so I can't test it. I think this should be used :
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rmdir Maybe should someone test it to confirm it's OK ? Thanks, Eric |
@eldk now the docs will only work on Windows 😛 Maybe just go with EDIT: scratch my first point since you added a s separate section. But I think with the npx solution we can make this cross-platform. |
That's ok for me. |
05dd452
to
513d5b4
Compare
513d5b4
to
3859319
Compare
@XhmikosR Do we need this in the beta, or can it wait until v5 stable or v5.1.0? |
It can wait, but it's ready I think. We could probably create a new subgroup named Bundlers and move Webpack and Parcel and whatever new shows up in the future, or leave it as is for now. |
Hello,
Not sure if it helps but proposed.
Tested and used with V5 alpha.
Thanks,
Eric
Preview: https://deploy-preview-30909--twbs-bootstrap.netlify.app/docs/5.0/getting-started/parcel/