get-webpack-plugin

get webpack runtime config

Usage no npm install needed!

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

README

GetWebpackPlugin

get the webpack runtime configuration

Installation

  npm install --save-dev get-webpack-plugin

Configuration

  const { GetWebpackPlugin } = require('get-webpack-plugin');
  
  module.exports = {
    ...
    plugins: [
      new GetWebpackPlugin(),

      // Pass in Parameters to get the specified configuration items
      // new GetWebpackPlugin(name)
    ]
  }