1.0.0 • Published 6 years ago
webpack-bos-uploader v1.0.0
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'
})
]
};
1.0.0
6 years ago