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

Commit

Permalink
fix: Don't stringify with tabs to improve perf
Browse files Browse the repository at this point in the history
Fixes #31
  • Loading branch information
SpaceK33z authored and joshwiens committed Jul 22, 2017
1 parent a06933c commit ee75f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ module.exports = function(source) {
this.cacheable && this.cacheable();
var value = typeof source === "string" ? JSON.parse(source) : source;
this.value = [value];
return "module.exports = " + JSON.stringify(value, undefined, "\t") + ";";
return "module.exports = " + JSON.stringify(value) + ";";
}

0 comments on commit ee75f99

Please sign in to comment.