Skip to content

Lynn-Bin/replace-img-url-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

##该loader插件会将项目中html文件的图片地址替换成指定目录

Use Demo

resolveLoader: {
  modules: ['node_modules','loaders']
},
{
  test: /\.html$/,
  use: [
         {
          loader: 'replace-img-url-loader',
          options: {
            replaceUrl: '',
            outputPath: ''
          }
        }
      ]
}

About

Replace the image path in HTML to the specified path

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published