Skip to content

Commit

Permalink
JSON.stringify beuaty when create manifest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Feb 12, 2017
1 parent 0b41afe commit fa96a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scripts/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const createManifest = (icons, build) => (cb) => {
const newfile = `${build}/manifest.json`;

if (!test('-d', build)) mkdir('-p', build);
fs.writeFile(newfile, JSON.stringify(icons), 'utf-8', cb);
fs.writeFile(newfile, JSON.stringify(icons, null, 2), 'utf-8', cb);
};

const createIndex = (icons, build) => (cb) => {
Expand Down

0 comments on commit fa96a6a

Please sign in to comment.