webpack/examples
Tobias Koppers f2a88fca2e better examples generation, so that example can acctually run 2013-12-19 23:23:12 +01:00
..
code-splitted-dedupe updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
code-splitted-require.context updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
code-splitted-require.context-amd updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
code-splitting updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
code-splitting-bundle-loader updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
coffee-script updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
commonjs updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
component updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
dedupe updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
i18n updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
labeled-modules updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
loader updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
mixed updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
multiple-commons-chunks updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
multiple-entry-points better way to bootstrap entry splits 2013-12-19 23:22:36 +01:00
named-chucks updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
require.context updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
require.resolve updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
web-worker updated examples to reflect webpack 1.0 2013-12-17 23:22:19 +01:00
README.md add multiple-entry-points example #15 2013-11-19 18:09:26 +01:00
build-common.js better examples generation, so that example can acctually run 2013-12-19 23:23:12 +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-chucks

example demonstrating merging of chucks with named chucks

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.