diff --git a/src/index.js b/src/index.js index cc0e769..3dcefe2 100644 --- a/src/index.js +++ b/src/index.js @@ -5,7 +5,7 @@ const registerPartialsWithExtensions = require('./utils/registerPartialsWithExte function toJSON (obj) { if (typeof obj === 'object') { - return JSON.stringify(obj) + return JSON.stringify(obj, null, 4) } return obj }