From ee75f99197114cc0f6ba0cc56c2c85173176c6ec Mon Sep 17 00:00:00 2001 From: Kees Kluskens Date: Mon, 17 Oct 2016 16:57:17 +0200 Subject: [PATCH] fix: Don't stringify with tabs to improve perf Fixes #31 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a540535..bb7b2c0 100644 --- a/index.js +++ b/index.js @@ -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) + ";"; }