documentation

This commit is contained in:
Tobias Koppers 2012-06-29 22:45:48 +02:00
parent 623ca4ea5c
commit 98bf1ea52b
1 changed files with 7 additions and 1 deletions

View File

@ -311,6 +311,7 @@ Options:
--public-prefix Path Prefix For JavaScript Loading [string]
--libary Stores the exports into this variable [string]
--colors Output Stats with colors [boolean] [default: false]
--single Disable lazy loading [boolean] [default: false]
--json Output Stats as JSON [boolean] [default: false]
--by-size Sort modules by size in Stats [boolean] [default: false]
--verbose Output dependencies in Stats [boolean] [default: false]
@ -358,6 +359,10 @@ You can also save this options object in a JSON file and use it with the shell c
includeFilenames: true, // default: false
// include the filename of each module as comment before the module
single: false, // default: false
// ignore all Code Splitting and emit only a single file
// all code is included and should work as with Code Splitting
watch: true, // default: false
// recompiles on changes on module and contexts (currently not on loaders)
// unchanged files are cached for greater performance
@ -879,7 +884,8 @@ You are also welcome to correct any spelling mistakes or any language issues, be
## Future plans
* more polyfills for node.js buildin modules, but optional
* `require("webpack/require-polyfill.install")` to install for all modules
* split require-polyfill from webpack and offer it as seperate module
* cache in folder and allow reuseing it
* migrate tests to mocha
* write it into the wiki if you have more ideas...