extractor-webpack-plugin

Eval & Extract assets from webpack build

Usage no npm install needed!

<script type="module">
  import extractorWebpackPlugin from 'https://cdn.skypack.dev/extractor-webpack-plugin';
</script>

README

Extractor Webpack Plugin

NpmVersion

A plugin that executes the main compilation asset and allows you to emit more compilation assets.

Install

npm i --save-dev extractor-webpack-plugin
yarn add --dev extractor-webpack-plugin

Be aware that this plugin will overwrite output.filename and 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 .babelrc-file.