GitHunt
DA

davidejones/html-webpack-exclude-empty-assets-plugin

HtmlWebpackExcludeEmptyAssetsPlugin

This will prevent the HtmlWebpackPlugin from adding empty assets into the html.

Usage

const HtmlWebpackExcludeEmptyAssetsPlugin = require('html-webpack-exclude-empty-assets-plugin');

module.exports = {
  // ...
  plugins: [
    // ...
    new HtmlWebpackPlugin(),
    new HtmlWebpackExcludeEmptyAssetsPlugin(),
    // ...
  ]
};

Languages

JavaScript100.0%

Contributors

MIT License
Created June 13, 2020
Updated June 13, 2020