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 my case, I want to ignore all sourcemap files from my assetMatch. In digging into the code, I see that globby is used with the assetMatch parameter:
I can't quite figure out how to craft a single string that does not match the map files. However, if assetMatch were allowed to be an array, this would be pretty trivial to do:
ERROR ValidationError: child "assetMatch" fails because ["assetMatch" must be a string]
ValidationError: child "assetMatch" fails because ["assetMatch" must be a string]
at Object.exports.process (/Users/blimmer/code/myproj/node_modules/joi/lib/errors.js:203:19)
Could we make assetMatch a string OR an array?
The text was updated successfully, but these errors were encountered:
In my case, I want to ignore all sourcemap files from my
assetMatch
. In digging into the code, I see thatglobby
is used with theassetMatch
parameter:vue-cli-plugin-s3-deploy/src/deployer.js
Lines 31 to 34 in 992daea
I can't quite figure out how to craft a single string that does not match the map files. However, if
assetMatch
were allowed to be an array, this would be pretty trivial to do:But right now, Joi validates that it's a string:
Could we make
assetMatch
a string OR an array?The text was updated successfully, but these errors were encountered: