'esm' | 'cjs' | 'umd' | 'mf'undefinedSpecify the output format for the generated JavaScript output files.
For different output formats, Rslib uses the following default value of output.library.type provided by Rspack:
esm:modern-modulecjs:commonjs-staticumd:umdSee Output Format and Module Federation for more details.
The umd format only works when bundle is set to true.