-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
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
Rewrite Webpack guide #36382
Rewrite Webpack guide #36382
Conversation
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.
Really like the new tutorial approach of this page following the spirit of the new "Quick start" in 5.2.
My only concern would be about the maintenance but I suppose that the community will report some issues if it doesn't work exactly the same in the future :)
Would it be interesting to create a guide for Vite? People seems to be hyped by Vite which is pretty high in https://2021.stateofjs.com/en-US/libraries/build-tools as well. |
Co-Authored-By: GeoSot <geo.sotis@gmail.com> Co-Authored-By: Julien Déramond <17381666+julien-deramond@users.noreply.github.com>
This rewrites the entire Webpack guide to be an actual guide. One lingering question I have is if we need to include a section here for how to import only parts of Bootstrap instead of kicking that to the live example. I might swing back around and add that as well, but for now, would love some feedback.
The gist of this is available in a new examples repo over at https://github.com/twbs/examples/tree/main/webpack. So far everything looks and works as intended, including some JS and Popper, for me locally and in Stackblitz.
/cc @GeoSot
preview: https://deploy-preview-36382--twbs-bootstrap.netlify.app/docs/5.2/getting-started/webpack/