example demonstrating a very simple programm
example demonstrating a very simple case of Code Splitting.
example demonstrating to cache clearing of modules with require.resolve
and require.cache
.
example demonstrating to automatic creation of contexts when using variables in require
.
example demonstrating contexts in a code-split environment.
example demonstrating contexts in a code-split environment with AMD.
example demonstrating to usage of loaders.
example demonstrating code written in coffee-script.
example demonstrating Code Splitting through the builder loader
example demonstrating merging of chucks with named chucks
example demonstrating mixing CommonJs and AMD
example demonstrating creating WebWorkers with webpack and the worker-loader.
If you think a example is missing, please report it as issue. :)
There is a build.js
file in each example directory.
Run it with node in the example directory to compile it and the README.md file.