vue-cli-plugin-s3-deploy icon indicating copy to clipboard operation
vue-cli-plugin-s3-deploy copied to clipboard

Does not include hidden files in upload

Open Jahor opened this issue 5 years ago • 6 comments

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

Jahor avatar Jul 18 '20 02:07 Jahor

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

nicekiwi avatar Jul 20 '20 03:07 nicekiwi

".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 [email protected], 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.

Jahor avatar Jul 20 '20 03:07 Jahor

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

nicekiwi avatar Jul 20 '20 04:07 nicekiwi

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 [email protected], 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.

Jahor avatar Jul 20 '20 04:07 Jahor

Where is the folder in the file structure?

nicekiwi avatar Jul 20 '20 04:07 nicekiwi

At the top - right under dist

Egor Leonenko On 20 Jul 2020, 16:56 +1200, Ezra Sharp [email protected], 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.

Jahor avatar Jul 20 '20 05:07 Jahor