1.0.1 • Published 6 years ago
bosplugin v1.0.1
BOS webpack Plugin
推送静态资源到百度云的webpack插件
Usage
webpack配置:
plugins: [
new bosPlugin({
endpoint: <EndPoint>, // 您的bucket所属域
credentials: {
ak: <AccessKeyID>, // 您的AK
sk: <SecretAccessKey> // 您的SK
}
bucketName: 'bucketName' // bucketName
})
]
配置项
现只有三个配置:
1.endpoint: 您的bucket所属域,默认北京
2.ak:您的AK
3.sk:您的SK
4.bucketName: 上传代码到哪个bucket下
License
This plugin is issued under the MIT license.