In the newest version, BundleAll helper method is removed from Bundler class. We never used it ourselves, so if it's a breaking change for you, we want to know your use case.
Simple code that replicates what BundleAll was doing:
async function main(): Promise<void> {
const filePaths: string[] = [];
const bundler = new Bundler(undefined, __dirname);
const bundledResultList = await Promise.all(filePaths.map(file => bundler.bundle(file)));
}
In the newest version,
BundleAllhelper method is removed fromBundlerclass. We never used it ourselves, so if it's a breaking change for you, we want to know your use case.Simple code that replicates what
BundleAllwas doing: