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

Commit ee75f99

Browse files
SpaceK33zjoshwiens
authored andcommitted
fix: Don't stringify with tabs to improve perf
Fixes #31
1 parent a06933c commit ee75f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ module.exports = function(source) {
66
this.cacheable && this.cacheable();
77
var value = typeof source === "string" ? JSON.parse(source) : source;
88
this.value = [value];
9-
return "module.exports = " + JSON.stringify(value, undefined, "\t") + ";";
9+
return "module.exports = " + JSON.stringify(value) + ";";
1010
}

0 commit comments

Comments
 (0)