1.0.2 • Published 3 years ago

webpack-html-plugin-supplement v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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
})
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago