Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/l-chris/html-webpack-enhance-plugin
https://github.com/l-chris/html-webpack-enhance-plugin
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/l-chris/html-webpack-enhance-plugin
- Owner: L-Chris
- License: mit
- Created: 2018-09-28T05:35:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-01T08:12:16.000Z (over 5 years ago)
- Last Synced: 2024-11-08T07:42:47.978Z (about 2 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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: ''
})
]
}
```