I'm facing really strange issue in our CI\CD.
Sometimes our build failed due to
Invalid glob argument: undefined
After investigating where is this undefined coming from, I've found that
const wiredep = require('wiredep');const js = wiredep({exclude:[/jquery/, /font-awesome/]).js;So now the js sometimes returns undefined.
Hey all,
I'm facing really strange issue in our CI\CD. Sometimes our build failed due to
After investigating where is this undefined coming from, I've found that
const wiredep = require('wiredep');
const js = wiredep({exclude:[/jquery/, /font-awesome/]).js;
So now the js sometimes returns undefined.Without the exclude options it works.
Any idea what I'm doing wrong? Please help...
Thanks Z