1.0.2 • Published 3 years ago
webpack-html-plugin-supplement v1.0.2
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
})