diff --git a/lib/compile-exports.js b/lib/compile-exports.js index 06904fac..5fd197c4 100644 --- a/lib/compile-exports.js +++ b/lib/compile-exports.js @@ -17,9 +17,9 @@ module.exports = function compileExports(result, importItemMatcher, camelCaseKey res.push("\t" + JSON.stringify(key) + ": " + valueAsString); if (camelCaseKeys === true) { - res.push("\t" + JSON.stringify(camelCase(key)) + ": " + valueAsString); + res.push("\t" + camelCase(key) + ": " + valueAsString); } else if (camelCaseKeys === 'dashes') { - res.push("\t" + JSON.stringify(dashesCamelCase(key)) + ": " + valueAsString); + res.push("\t" + dashesCamelCase(key) + ": " + valueAsString); } return res;