Skip to content

Ncnbb/zzc-postoss-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zzc-postoss-webpack-plugin

阿里云上传OSS的webpack插件

npm npm NPM

Description

租租车专用阿里云OSS推送webpack插件,基于post-oss插件实现的webpack插件,更加合理的在webpack的构建过程中进行OSS上传。

Getting started

npm install zzc-postoss-webpack-plugin --save-dev

webpack.config.js

const ZZCPostOSSWebpackPlugin = require('zzc-postoss-webpack-plugin');
{
    entry: ...,
    plugins: [
        ...,
        new ZZCPostOSSWebpackPlugin( {
            remotePath: 'you remote path',
            remoteAuth: 'you remote auth'
        } )
    ]
}

About

租租车专用OSS推送webpack插件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published