-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Description
Stub.
Feel free to comment here if you have ideas on what this guide should cover. Link to potential resources too.
Maybe it should cover:
- What is Webpack? (in a small paragraph)
- Establishing Mindset (JavaScript file as entry point) or how it works at its highest levels, some colleagues had issues understanding how it works since they were using gulp.
- Files and Loaders (in two or three lines).
Then move on to a small example:
- Installation.
- Basic html page with an entry point, that just logs something or manipulates an element using jQuery.
- Bundling the JS files.
- Extracting chunks (like vendor) with CommonsChunk plugin.
- Adding CSS (css loader and style loader).
- Adding static resources like an image (file/url loader).
- Optimization (Uglify, Clean).
- HMR.
probably that would be somewhat enough to get used to most of Webpack concepts at a high level. I'm not sure if its too short or a bit long.
Probably some short version of this post.