Skip to content

wq1308786830/html-webpack-path-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
      }),
]

Releases

No releases published

Packages

No packages published