Skip to content

Commit 64523c6

Browse files
committed
fixed #5
1 parent b8e2546 commit 64523c6

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

index.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@
44
*/
55
var async = require("async");
66

7-
var Source = require("webpack/lib/Source");
8-
9-
function RawSource(value) {
10-
Source.call(this);
11-
this._value = value;
12-
}
13-
14-
RawSource.prototype = Object.create(Source.prototype);
15-
RawSource.prototype._bake = function() {
16-
return {
17-
source: this._value
18-
};
19-
};
7+
var RawSource = require("webpack/lib/RawSource");
208

219
function CompressionPlugin(options) {
2210
options = options || {};

0 commit comments

Comments
 (0)