Skip to content
This repository was archived by the owner on Aug 20, 2018. It is now read-only.

Commit 7360525

Browse files
committed
fix for webpack 0.9
1 parent f102bd1 commit 7360525

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module.exports = function(source) {
66
this.cacheable && this.cacheable();
77
var value = JSON.parse(source);
8-
this.values = [value];
8+
this.value = [value];
99
return "module.exports = " + JSON.stringify(value, undefined, "\t");
1010
}
1111
module.exports.seperable = true;

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "json-loader",
3-
"version": "0.2.0",
3+
"version": "0.5.0",
44
"author": "Tobias Koppers @sokra",
55
"description": "json loader module for webpack",
66
"licenses": [
77
{
88
"type": "MIT",
99
"url": "http://www.opensource.org/licenses/mit-license.php"
1010
}
11-
],
12-
"license": "MIT"
11+
]
1312
}

0 commit comments

Comments
 (0)