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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i webpack-bos-uploader

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    3.07 kB

    Total Files

    4

    Last publish

    Collaborators

    • niminjie