Update CONFIG.appMetadata after generate-module-cache

This commit is contained in:
Antonio Scandurra
2016-07-29 13:29:38 +02:00
parent 764bd8fa14
commit 236897ecb9

View File

@@ -26,5 +26,6 @@ module.exports = function () {
]
}
}
fs.writeFileSync(path.join(CONFIG.intermediateAppPath, 'package.json'), JSON.stringify(newMetadata))
CONFIG.appMetadata = newMetadata
fs.writeFileSync(path.join(CONFIG.intermediateAppPath, 'package.json'), JSON.stringify(CONFIG.appMetadata))
}