webpack-add-prefixion-plugin
v1.0.0
Published
为webpack打包的html文件添加静态资源路径
Downloads
4
Readme
webpack-add-prefixion-plugin
Install
npm i --save-dev webpack-add-prefixion-plugin
Usage
const WebpackAddPrefixionPlugin = require('webpack-add-prefixion-plugin')
new WebpackAddPrefixionPlugin({
css: 'css path',
js: 'js path'
})
options
uploadPath: accept String(Unified Path Upload) or Object(Subpath Upload)