Skip to content

Commit b04f6d7

Browse files
committed
better features list
1 parent b6c3b04 commit b04f6d7

File tree

1 file changed

+29
-25
lines changed

1 file changed

+29
-25
lines changed

README.md

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,33 @@ Take a look at the [`examples`](https://github.com/webpack/webpack/tree/master/e
2727

2828
# Features
2929

30-
* loaders are chainable
31-
* loaders run in node.js and can do a bunch of stuff
32-
* option to name your file with a hash of the content
33-
* watch mode
34-
* SourceUrl and SourceMap support
35-
* plugin system, extend webpack or build a complete different compiler
36-
* i. e. [component](https://github.com/webpack/component-webpack-plugin), [rewire](https://github.com/jhnns/rewire-webpack) and [more...](http://webpack.github.io/docs/webpack-plugins.html?utm_source=github&utm_medium=readme&utm_campaign=features)
37-
* [interfaces](http://webpack.github.io/docs/webpack-usage.html?utm_source=github&utm_medium=readme&utm_campaign=features)
38-
* CLI with [arguments](http://webpack.github.io/docs/webpack-detailed-usage.html?utm_source=github&utm_medium=readme&utm_campaign=features)
39-
* CLI with [config file](http://webpack.github.io/docs/webpack-options.html?utm_source=github&utm_medium=readme&utm_campaign=features), [arguments](http://webpack.github.io/docs/webpack-detailed-usage.html?utm_source=github&utm_medium=readme&utm_campaign=features) are still possible
40-
* usable as library from node.js
41-
* usable as [grunt plugin](https://github.com/webpack/grunt-webpack)
42-
* browser replacements
43-
* comes with browser replacements for some node.js modules
44-
* [Hot Module Replacement](http://webpack.github.io/docs/hot-code-replacement.html?utm_source=github&utm_medium=readme&utm_campaign=features)
45-
* install updates without full page refresh
46-
* see also
47-
* [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware)
48-
* [webpack-dev-server](https://github.com/webpack/webpack-dev-server)
49-
* [enhanced-resolve](https://github.com/webpack/enhanced-resolve) and
50-
* [enhanced-require](https://github.com/webpack/enhanced-require)
51-
52-
## A small example what's possible
30+
## Plugins
31+
32+
webpack has a rich plugin interface. Most of the features are internal plugins using this interface. This makes webpack very **flexible**.
33+
34+
## Performance
35+
36+
webpack uses async I/O and has multiple caching levels. This makes webpack fast and incredible **fast** on incremental compilation.
37+
38+
## Loaders
39+
40+
webpack allows to use loaders to preprocess files. This allows you to bundle **any static resource** not only javascript. You can easily write your own loaders running in node.js.
41+
42+
## Support
43+
44+
webpack supports **AMD and CommonJs** module styles. It perform clever static analysis on the AST of your code. It even has a evaluation engine to evaluate simple expressions. This allows you to **support most existing libraries**.
45+
46+
## Code Splitting
47+
48+
webpack allows to split your codebase into chunks. Chunks are loaded **on demand**. This reduces initial loading time.
49+
50+
## Optimizations
51+
52+
webpack can do many optimizations to **reduce the output size**. It also cares about **caching** by using hashes.
53+
54+
55+
56+
# A small example what's possible
5357

5458
``` javascript
5559
var commonjs = require("./commonjs");
@@ -100,7 +104,7 @@ function loadTemplateAsync(name, callback) {
100104

101105
## Tests
102106

103-
You can run the unit tests with `npm test`. [![build status](https://secure.travis-ci.org/webpack/webpack.png)](http://travis-ci.org/webpack/webpack)
107+
You can run the node tests with `npm test`. [![build status](https://secure.travis-ci.org/webpack/webpack.png)](http://travis-ci.org/webpack/webpack)
104108

105109
You can run the browser tests:
106110

@@ -125,7 +129,7 @@ If you want to discus something or just need help, [here is a gitter.im room](ht
125129

126130
## License
127131

128-
Copyright (c) 2012-2013 Tobias Koppers
132+
Copyright (c) 2012-2014 Tobias Koppers
129133

130134
MIT (http://www.opensource.org/licenses/mit-license.php)
131135

0 commit comments

Comments
 (0)