html-webpack-path-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Html Webpack Path Plugin

why we need this?

Sometimes we want to upload files to OSS file server or CDN server, in this condition you may want to change your template tag src url prefix to the OSS or CDN file url, this plugin just do this simple things. Supports HtmlWebpackPlugin 3.x and 4.x

Usage

plugins: [
    new HtmlWebpackPathPlugin({
        publicPath: 'your url prefix'
      }),
]

Readme

Keywords

Package Sidebar

Install

npm i html-webpack-path-plugin

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

7.76 kB

Total Files

7

Last publish

Collaborators

  • wq1308786830