blob: 45da09feb95fdfe72c5826546243e1976534dd5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# json loader for webpack
## Installation
`npm install json-loader`
## Usage
``` javascript
var json = require("json!./file.json");
// => returns file.json content as json parsed object
```
Don't forget to polyfill `require` if you want to use it in node.
See `webpack` documentation.
## License
MIT (http://www.opensource.org/licenses/mit-license.php)
|