html-webpack-enhance-plugin

2.0.1 • Public • Published

html-webpack-enhance-plugin

enhance html-webpack-plugin features

Install

// v1 support webpack3
// v2 support webpack4
npm i html-webpack-enhance-plugin -D
yarn add html-webpack-enhance-plugin -D

✨ Features:

  • override publicPath options in webpack config

Usage

webpack.config.js

const HtmlWebpackPlugin = require('html-webpack-plugin')
const HtmlWebpackEnhancePlugin = require('html-webpack-enhance-plugin')

module.exports = {
  plugins: [
    new HtmlWebpackPlugin(),
    new HtmlWebpackEnhancePlugin({
      publicPath: ''
    })
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i html-webpack-enhance-plugin

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

3.24 kB

Total Files

4

Last publish

Collaborators

  • l-chris