Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wiredep with exclude sometimes returns undefiend #280

Open
zivkaziv opened this issue Jan 12, 2020 · 0 comments
Open

wiredep with exclude sometimes returns undefiend #280

zivkaziv opened this issue Jan 12, 2020 · 0 comments

Comments

@zivkaziv
Copy link

zivkaziv commented Jan 12, 2020

Hey all,

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.

Without the exclude options it works.

Any idea what I'm doing wrong?
Please help...

Thanks
Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant