Extractor Webpack Plugin
A plugin that executes the main compilation asset and allows you to emit more compilation assets.
npm i --save-dev extractor-webpack-plugin
yarn add --dev extractor-webpack-plugin
Be aware that this plugin will overwrite
output.libraryTarget of the webpack config.
Also be aware that if you use it together with babel you'll have to set
loose: true and
modules. 'commonjs' in your