Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit 9bbe8b2

Browse files
committed
fix for webpack 0.9
1 parent a674a2a commit 9bbe8b2

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

index.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
MIT License http://www.opensource.org/licenses/mit-license.php
33
Author Tobias Koppers @sokra
44
*/
5-
module.exports = function() {
5+
module.exports = function(content) {
66
this.cacheable && this.cacheable();
7-
var args = Array.prototype.slice.call(arguments);
8-
args = args.join("");
9-
this.values = [args];
10-
return "module.exports = " + JSON.stringify(args);
7+
this.value = content;
8+
return "module.exports = " + JSON.stringify(content);
119
}
1210
module.exports.seperable = true;

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "raw-loader",
3-
"version": "0.2.0",
3+
"version": "0.5.0",
44
"author": "Tobias Koppers @sokra",
55
"description": "raw 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)