Skip to content

Commit 32f5073

Browse files
committed
some fixes in the readme
1 parent 7d16ffc commit 32f5073

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ You as developer can use such files like any other module.
3535
* load polyfills for node-specific things if used
3636
* offer replacements for node buildin libraries
3737

38-
# Example
38+
# Examples
3939

4040
See [example webapp](http://sokra.github.com/modules-webpack-example/).
4141

42+
More [examples](https://github.com/sokra/modules-webpack/tree/master/examples).
43+
4244
## Simple Example
4345

4446
``` javascript
@@ -204,7 +206,7 @@ The following loaders are included in webpack:
204206
* [`style`](https://github.com/sokra/webpack-style-loader): Adds result of javascript execution to DOM
205207
* [`script`](https://github.com/sokra/webpack-script-loader): Executes a javascript file once in global context (like in script tag), requires are not parsed. Use this to include a library. ex. `require("script!./jquery.min.js")`. This is synchron, so the `$` variable is available after require.
206208
* (`.css` defaults to `style!css` loader, so all css rules are added to DOM)
207-
* (`.less` defaults to `style!css!val!less` loader, so all less rules are added to DOM)
209+
* (`.less` defaults to `style!css!val/cacheable!less` loader, so all less rules are added to DOM)
208210

209211
See docs for loader in github repo of the loader.
210212

@@ -358,6 +360,7 @@ You can also save this options object in a JSON file and use it with the shell c
358360

359361
watch: true, // default: false
360362
// recompiles on changes on module and contexts (currently not on loaders)
363+
// unchanged files are cached for greater performance
361364

362365
watchDelay: 1000, // default: 200
363366
// delay in ms before recompile after the last file change

0 commit comments

Comments
 (0)