webpack-bos-uploader

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i webpack-bos-uploader

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

3.07 kB

Total Files

4

Last publish

Collaborators

  • niminjie