webpack/examples
Tobias Koppers aee139ba55 added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
..
code-splitted-dedupe added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
code-splitted-require.context added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
code-splitted-require.context-amd added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
code-splitting added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
code-splitting-bundle-loader added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
coffee-script added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
commonjs added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
component added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
dedupe added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
hybrid-routing added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
i18n added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
labeled-modules added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
loader added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
mixed added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
multiple-commons-chunks added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
multiple-entry-points added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
named-chunks added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
require.context added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
require.resolve added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
web-worker added hybrid-routing example, updated examples 2014-02-03 18:20:55 +01:00
README.md Fix typo: named chunks 2014-01-20 21:37:38 -02:00
build-common.js include origins in examples 2014-01-24 13:33:08 +01:00
buildAll.js better examples generation, so that example can acctually run 2013-12-19 23:23:12 +01:00
template-common.js removed logging 2013-03-28 10:31:40 +01:00

README.md

examples

commonjs

example demonstrating a very simple programm

code-splitting

example demonstrating a very simple case of Code Splitting.

require.resolve

example demonstrating to cache clearing of modules with require.resolve and require.cache.

require.context

example demonstrating to automatic creation of contexts when using variables in require.

code-splitted-require.context

example demonstrating contexts in a code-split environment.

code-splitted-require.context-amd

example demonstrating contexts in a code-split environment with AMD.

loader

example demonstrating to usage of loaders.

coffee-script

example demonstrating code written in coffee-script.

code-splitting-bundle-loader

example demonstrating Code Splitting through the builder loader

names-chunks

example demonstrating merging of chunks with named chunks

labeled-modules

example demonstrating Labeled Modules

mixed

example demonstrating mixing CommonJs, AMD and Labeled Modules

web-worker

example demonstrating creating WebWorkers with webpack and the worker-loader.

i18n

example demonstrating localization.

multiple-entry-points

example demonstrating multiple entry points with Code Splitting.

Requests

If you think a example is missing, please report it as issue. :)

Build

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.