@ms-cloudpack/bundler-plugin-webpack
v0.4.18
Published
A cloudpack plugin for abstracting webpack.
Downloads
2,096
Keywords
Readme
@ms-cloudpack/bundler-plugin-webpack
Provides a Cloudpack bundler abstraction around the Webpack bundler.
Usage
async function bundlePackage(options)
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();