Provides a Cloudpack bundler abstraction around the Rspack bundler.
import { bundlePackage } from '@ms-cloudpack/bundler';
async function start() {
const result = await bundlePackage({
packagePath: process.cwd(),
outputPath: path.join(process.cwd(), 'dist'),
outputType: 'library',
});
console.log(result);
}
start();