Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
okonet committed Jul 14, 2016
1 parent 8145fb4 commit 36d12a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# yaml-loader for webpack

YAML loader for [webpack](http://webpack.github.io/). Converts YAML to JSON. You should chain it with [json-loader](https://github.com/webpack/json-loader).
YAML loader for [webpack](http://webpack.github.io/). Converts YAML to JSON.

## Installation

Expand All @@ -11,7 +11,7 @@ YAML loader for [webpack](http://webpack.github.io/). Converts YAML to JSON. You
[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)

``` javascript
var json = require("json!yaml!./file.yml");
var json = require("yaml!./file.yml");
// => returns file.yml as javascript object
```

Expand Down

0 comments on commit 36d12a8

Please sign in to comment.