multiplegeorges / vue-cli-plugin-s3-deploy

A vue-cli plugin that uploads your built Vue.js project to an S3 bucket
MIT License
331 stars 51 forks source link

Does not include hidden files in upload #120

Open Jahor opened 4 years ago

Jahor commented 4 years ago

In does not seem possible to include files starting with '.' in deployment. Like .well-known directory, for example

nicekiwi commented 4 years ago

it should upload anything inside the configured source directory. Whats the name of the folder?

Jahor commented 4 years ago

".well-known"

It is present in dist, but does not get uploaded.

I don’t think ** glob includes files starting with “.”, not on Linux/Mac. And there is no way to specify extra one to include those explicitly.

Egor Leonenko On 20 Jul 2020, 15:35 +1200, Ezra Sharp notifications@github.com, wrote:

it should upload anything inside the configured source directory. Whats the name of the folder? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

nicekiwi commented 4 years ago

looks like globby excludes dot files by default. but you should be able to include them via the assetMatch config. https://github.com/isaacs/node-glob#dots

Jahor commented 4 years ago

I’ve tried many different options including @(.|) @(,./) {,./} @(|.)/* (/|./)**

Some of them keep matching all the other files, some don’t match anything, some only match first level files.

Even ./ . . Don’t match even just that hidden folder. On 20 Jul 2020, 16:25 +1200, Ezra Sharp notifications@github.com, wrote:

looks like globby excludes dot files by default. but you should be able to include them via the assetMatch config. https://github.com/isaacs/node-glob — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

nicekiwi commented 4 years ago

Where is the folder in the file structure?

Jahor commented 4 years ago

At the top - right under dist

Egor Leonenko On 20 Jul 2020, 16:56 +1200, Ezra Sharp notifications@github.com, wrote:

Where is the folder in the file structure? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.