webpack-html-plugin-supplement
v1.0.2
Published
webpack-html-plugin-supplement
Downloads
1
Readme
webpack-html-plugin-supplement
Define a independent public path with html-webpack-plugin.
Usage
const WebpackHtmlPluginSupplement = require('webpack-html-plugin-supplement')
new HtmlWebpackPlugin(),
new WebpackHtmlPluginSupplement({
publicPath: 'xxxx' //string
//or
publicPath: (src, name) => return 'xxxx' + src //function
})