Skip to content

Commit eb40c79

Browse files
committed
typo and links
1 parent 31158a9 commit eb40c79

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

README.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -192,17 +192,17 @@ See [example](/sokra/modules-webpack/tree/master/examples/loader).
192192

193193
The following loaders are included in webpack:
194194

195-
* `raw`: Loads raw content of a file (as utf-8)
196-
* `json` (default at `.json`): Loads file as JSON
197-
* `jade` (default at `.jade`): Loads jade template and returns a function
198-
* `coffee` (default at `.coffee`): Loads coffee-script like javascript
199-
* `css`: Loads css file with resolved imports and returns css code
200-
* `less`: Loads and compiles a less file and returns css code
201-
* `val`: Excutes code as module and consider exports as javascript code
202-
* `bundle`: Wraps request in a `require.ensure` block
203-
* `file`: Emits the file into the output folder and returns the (relative) url (`file/{ext}` for some extensions)
204-
* `style`: Adds result of javascript execution to DOM
205-
* `script`: 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.
195+
* [`raw`](https://github.com/sokra/webpack-raw-loader): Loads raw content of a file (as utf-8)
196+
* [`json`](https://github.com/sokra/webpack-json-loader) (default at `.json`): Loads file as JSON
197+
* [`jade`](https://github.com/sokra/webpack-jade-loader) (default at `.jade`): Loads jade template and returns a function
198+
* [`coffee`](https://github.com/sokra/webpack-coffee-loader) (default at `.coffee`): Loads coffee-script like javascript
199+
* [`css`](https://github.com/sokra/webpack-css-loader): Loads css file with resolved imports and returns css code
200+
* [`less`](https://github.com/sokra/webpack-less-loader): Loads and compiles a less file and returns css code
201+
* [`val`](https://github.com/sokra/webpack-val-loader): Excutes code as module and consider exports as javascript code
202+
* [`bundle`](https://github.com/sokra/webpack-bundle-loader): Wraps request in a `require.ensure` block
203+
* [`file`](https://github.com/sokra/webpack-file-loader): Emits the file into the output folder and returns the (relative) url (`file/{ext}` for some extensions)
204+
* [`style`](https://github.com/sokra/webpack-style-loader): Adds result of javascript execution to DOM
205+
* [`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.
206206
* (`.css` defaults to `style!css` loader, so all css rules are added to DOM)
207207
* (`.less` defaults to `style!css!val!less` loader, so all less rules are added to DOM)
208208

@@ -471,7 +471,7 @@ else `stats` as json:
471471

472472
### File hash
473473

474-
You can use `[hash]` in `scriptSrcPrefix`, `output`, `outputDirectory`, `outputPostfix` and in the shell parameters.
474+
You can use `[hash]` in `publicPrefix`, `output`, `outputDirectory`, `outputPostfix` and in the shell parameters.
475475
`webpack` will replace it with a hash of your files, when writing.
476476

477477
### From shell
@@ -877,4 +877,11 @@ You are also welcome to correct any spelling mistakes or any language issues, be
877877

878878
## License
879879

880-
MIT (http://www.opensource.org/licenses/mit-license.php)
880+
MIT (http://www.opensource.org/licenses/mit-license.php)
881+
882+
## Dependencies
883+
884+
* [esprima](http://esprima.org/)
885+
* [optimist](https://github.com/substack/node-optimist)
886+
* [uglify-js](https://github.com/mishoo/UglifyJS)
887+
* [sprintf](https://github.com/maritz/node-sprintf)

0 commit comments

Comments
 (0)