WIP devtool configuration option
?Hot Module Replacement? (HMR) is a feature to inject updated modules into the active runtime. It?s like LiveReload for every module
Today?s websites are evolving into web apps: More and more JavaScript is in a page. You can do more stuff in modern browsers.
Incremental builds Make sure you don?t do a full rebuild. webpack has a great caching layer that allows to keep already compiled modules in
Installation $ npm install webpack -g The webpack
config NormalModuleReplacementPlugin new webpack
There are two ways to test web applications: In-browsers: You get a more realistic test, but you need some more complex infrastructure
Usage Like browserify, webpack analyzes all the node-style require() calls in your app and builds a bundle that you can serve
A quick summary of all methods and variables available in code compiled with webpack. Basic require
For a high-level introduction to writing plugins, start with How to write
Page 1 of 5