2012-04-06 18:40:43 +08:00
|
|
|
# examples
|
|
|
|
|
|
|
|
## code-splitting
|
|
|
|
|
|
|
|
example demonstrating a very simple case of Code Splitting.
|
|
|
|
|
|
|
|
## require.context
|
|
|
|
|
2012-05-01 12:14:17 +08:00
|
|
|
example demonstrating to automatic creation of contexts when using variables in `require`.
|
2012-04-06 18:40:43 +08:00
|
|
|
|
|
|
|
## code-splitted-require.context
|
|
|
|
|
2012-05-01 12:14:17 +08:00
|
|
|
example demonstrating contexts in a code-split environment.
|
2012-04-06 18:40:43 +08:00
|
|
|
|
|
|
|
## loader
|
|
|
|
|
|
|
|
example demonstrating to usage of loaders.
|
|
|
|
|
|
|
|
## coffee-script
|
|
|
|
|
|
|
|
example demonstrating code written in coffee-script.
|
|
|
|
|
|
|
|
# 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.
|