postcss-imgpost-alioss

1.0.2 • Public • Published

Usage

下载

npm i postcss-imgpost-alioss -D 或 yarn add postcss-imgpost-alioss --dev

使用方法和postcss插件一样

配置

const options = {
    // required
    accessKeyId: 'your ali accessKeyId',
    accessKeySecret: 'your ali accessKeySecret',
    region: 'your ali region',
    bucket: 'your ali bucket',
    // not required
    https: true,
    domain: 'your hostname', // eg: 'hostname.com/'
    name: 'your filename' // eg: 'filename/'
}

Readme

Keywords

Package Sidebar

Install

npm i postcss-imgpost-alioss

Weekly Downloads

6

Version

1.0.2

License

MIT

Unpacked Size

39 kB

Total Files

5

Last publish

Collaborators

  • yifeinianshao