A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/KnisterPeter/html-webpack-exclude-empty-assets-plugin below:

GitHub - KnisterPeter/html-webpack-exclude-empty-assets-plugin

HtmlWebpackExcludeEmptyAssetsPlugin

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

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

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

The HtmlWebpackExcludeEmptyAssetsPlugin accepts an object of options with the following attributes:

new HtmlWebpackExcludeEmptyAssetsPlugin({,
  minBytes: 1024
})

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4