lbundle
Version:
Small zero-configuration bundler build on top of Rollup.js and SWC for NPM libraries
15 lines (12 loc) • 429 B
JavaScript
import { bundleLibIfNeeded } from './helpers/bundle-lib-if-needed.mjs';
import { bundleBinIfNeeded } from './helpers/bundle-bin-if-needed.mjs';
import { getCtx } from './helpers/get-ctx.mjs';
const lbundle = async (baseOptions)=>{
const ctx = await getCtx(baseOptions);
await Promise.all([
bundleLibIfNeeded(ctx),
bundleBinIfNeeded(ctx)
]);
};
export { lbundle };
//# sourceMappingURL=index.mjs.map