Fix formatting

This commit is contained in:
RMidhunSuresh 2022-04-10 14:52:26 +05:30
parent ff98ef4465
commit 0a95eb0940

View file

@ -187,7 +187,7 @@ module.exports = function buildThemes(options) {
} }
return null; return null;
} }
}, },
transformIndexHtml(_, ctx) { transformIndexHtml(_, ctx) {
if (isDevelopment) { if (isDevelopment) {
@ -223,9 +223,9 @@ module.exports = function buildThemes(options) {
} }
}, },
]; ];
}, },
generateBundle(_, bundle) { generateBundle(_, bundle) {
const { assetMap, chunkMap, runtimeThemeChunk } = parseBundle(bundle); const { assetMap, chunkMap, runtimeThemeChunk } = parseBundle(bundle);
for (const [location, chunkArray] of chunkMap) { for (const [location, chunkArray] of chunkMap) {
const manifest = require(`${location}/manifest.json`); const manifest = require(`${location}/manifest.json`);
@ -245,6 +245,6 @@ generateBundle(_, bundle) {
source: JSON.stringify(manifest), source: JSON.stringify(manifest),
}); });
} }
} },
} }
} }