webpack-bos-uploader
v1.0.0
Published
Upload assets to bos.
Downloads
2
Readme
webpack-bos-uploader
Upload assets to bos.
Installation
npm i --save webpack-bos-uploader
Usage
// webpack config
const WebpackBosUploader = require('webpack-bos-uploader');
module.exports = {
// ...
plugins: [
new WebpackBosUploader({
ak: 'xxxx',
sk: 'xxxxx',
endpoint: 'http://xx.bcebos.com',
bucker: 'bucket',
prefix: 'test'
})
]
};