Merged in feature/pretty-print (pull request #2)

Добавил переносов строк и пробелов в сериализацию конфигурации на страницу
This commit is contained in:
Primakov Alexandr Alexandrovich 2022-02-08 20:56:52 +00:00
commit e52bf6ae3f

View File

@ -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
}