There are several entry points:

entry: { a: "./a", b: "./b" } 

How to add UMD for only one specific?

    1 answer 1

    The solution is multiple configurations

    Example:

     module.exports = [ { entry: { a: "./a"}, output: { path: __dirname, filename: "a.js" } }, { entry: { b: "./b"}, output: { path: __dirname, filename: "b.js", library: "MyLibrary", libraryTarget: "umd" } } ];