@easy-webpack/config-output-library
v1.1.2
Published
Easy Webpack configuration function for library output
Downloads
7
Maintainers
Readme
Example usage:
// Generates a umd module with a named define "my Lib"
const cfg = generateConfig (
webpackConfig, outputLibrary("myLib", "umd", true)
);
// Generates a commonjs module with no export name
const cfg = generateConfig (
webpackConfig, outputLibrary("myLib", "commonjs")
);