Skip to content

Commit 9791044

Browse files
evilebottnawijoshwiens
authored andcommitted
fix: cache behaviour (#91)
1 parent a2c9722 commit 9791044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class CompressionPlugin {
106106
.resolve()
107107
.then(() => this.compress(content))
108108
.then(
109-
data => cacache.put(cacheDir, cacheKey, data.toString())
109+
data => cacache.put(cacheDir, cacheKey, data)
110110
.then(() => data),
111111
),
112112
);

0 commit comments

Comments
 (0)