Inline licenses into Webpack's output bundle.
npm i -D license-loader
Include it as a loader targeting imports from
node_modules and it will parse license information from the import's
package.json and common license files.
module:loaders:test: /\.js$/ include: /node_modules/ loader: 'license-loader'
The first occurrence of each package (name / version combination) will get complete readable license information emitted.