A webpack plugin for qcloud cos.
npm install qcloud-cos-webpack-pluginOptions:
| Params |
|---:|
| SecretId |
| SecretKey |
| Bucket |
| Region |
example:
``javascript
const QCloudCOSWebpackPlugin = require('qcloud-cos-webpack-plugin');
...
module.exports = {
plugins: [
...,
new QCloudCOSWebpackPlugin({
SecretId: xxx,xxx
SecretKey: ,xxx
Bucket: ,xxx
Region: ,``
}),
]
}