You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there's no way to do multiple upload directories, I would suggest using something like CopyAssetsPlugin to move the final assets into one folder to upload, otherwise a PR is welcome 😄
plugins: [
new S3Plugin({
basePath:'static',
directory:'public/css|js|icon|fonts',
// s3Options are required
s3Options: {
accessKeyId: process.env.AWS_ACCESS_KEY_CN_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_CN_KEY,
region: process.env.AWS_DEFAULT_CN_REGION
},
s3UploadOptions: {
Bucket: process.env.AWS_CN_BUCKET
}
})
]
The text was updated successfully, but these errors were encountered: