2.0.1 • Published 6 years ago
html-webpack-enhance-plugin v2.0.1
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: ''
})
]
}