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
In the explaining globs page from the docs docs say that If any non-negative globs follow a negative, nothing will be removed from the later set of matches.
My understanding is that the glob will select all the js files inside the scripts folder, and then will remove all the stuff that is inside the scripts/vendor, and now we are trying to access another file called react.js inside vendor - this should give File not found error because that file has been removed from the current stream already, am I right ? if I want to add that again I will have to do the src all over again.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the explaining globs page from the docs docs say that If any non-negative globs follow a negative, nothing will be removed from the later set of matches.
can somebody explain me what that even means.
Now example is given below that as follows
My understanding is that the glob will select all the
js
files inside thescripts
folder, and then will remove all the stuff that is inside thescripts/vendor
, and now we are trying to access another file calledreact.js
insidevendor
- this should give File not found error because that file has been removed from the current stream already, am I right ? if I want to add that again I will have to do thesrc
all over again.Beta Was this translation helpful? Give feedback.
All reactions