There is one issue in #219 that causes the newly introduced onBundleReady callback to be called before the manifest is generated (as a file). The root cause of this issue is that rollup.emitFile (which is used for build mode) only marks the file, and actually all the files are created as a part of the generateBundle hook. To ensure that all the files are already exist in outDir, the flow has been updated to call onBundleReady from the writeBundle hook for build mode. Dev mode is not affected.
There is one issue in #219 that causes the newly introduced
onBundleReady
callback to be called before the manifest is generated (as a file). The root cause of this issue is thatrollup.emitFile
(which is used for build mode) only marks the file, and actually all the files are created as a part of thegenerateBundle
hook. To ensure that all the files are already exist inoutDir
, the flow has been updated to callonBundleReady
from thewriteBundle
hook for build mode. Dev mode is not affected.