Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option directory How to specify multiple directories #157

Open
yaowei520 opened this issue Jan 28, 2021 · 2 comments
Open

option directory How to specify multiple directories #157

yaowei520 opened this issue Jan 28, 2021 · 2 comments

Comments

@yaowei520
Copy link

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
}
})
]

@shankar-bavan
Copy link

I'm also looking for a solution to specify multiple directory.

@MikaAK
Copy link
Owner

MikaAK commented Mar 30, 2021

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 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants