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

Export depcheck for use in specials #8

Open
edj-boston opened this issue Jun 23, 2017 · 2 comments
Open

Export depcheck for use in specials #8

edj-boston opened this issue Jun 23, 2017 · 2 comments

Comments

@edj-boston
Copy link

It would be nice if gulp-depcheck exported the depcheck.specials property so I could do something like this:

gulp.task('package', g.depcheck({
    ignoreMatches : [
        'bootstrap',
        'font-awesome',
        'jquery',
        'npm-font-open-sans'
    ],
    specials : [
        g.depcheck.special['gulp-load-plugins'],
        g.depcheck.special.mocha,
        g.depcheck.special.babel
    ]
}));

As it is, I have to require depcheck itself to bring them in.

@goloroden
Copy link
Contributor

Would you mind creating a PR for this?

@edj-boston
Copy link
Author

Here you go: #9

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

2 participants