Skip to content

Guide - Get started #15

@bebraw

Description

@bebraw

Stub.

Feel free to comment here if you have ideas on what this guide should cover. Link to potential resources too.


To quote @logaretm from #29:

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions