string | string[] | { amd?: string, commonjs?: string, root?: string | string[] }undefinedThe export name of the UMD bundle.
The module name of the UMD bundle must not conflict with the global variable name.
global.MyLibrary.export default {
lib: [
{
format: 'umd',
umdName: 'MyLibrary',
},
],
};global.MyLibrary.Utils.export default {
lib: [
{
format: 'umd',
umdName: ['MyLibrary', 'Utils'],
},
],
};