Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does "**/*" in app.json or package.json mean?

I'm building a React Native app using Expo. In my app.json there as a key:

"assetBundlePatterns": ["**/*"],

I know this key expects a file path as its value. But what does "**/*" mean? I have my assets/ folder an the same level as app.json and in it there are three folders called animations/, images/ and fonts/. Will they be covered by that value?

like image 305
J. Hesters Avatar asked Oct 21 '25 05:10

J. Hesters


1 Answers

Usual this **/* means all folders and all sub folders are consider by some script.

Maybe this Q/A will help you :

Q/A how-to-load-all-files-in-a-directory-using-webpack-without-require-statements

also

Q/A specifying-a-complete-sub-directory-in-webpack-2-entry

Most ussualy used by webpack etc.

like image 89
Nikola Lukic Avatar answered Oct 22 '25 20:10

Nikola Lukic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!