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

No option to match dots #8

Closed
JoshZA opened this issue Jan 13, 2016 · 1 comment
Closed

No option to match dots #8

JoshZA opened this issue Jan 13, 2016 · 1 comment

Comments

@JoshZA
Copy link

JoshZA commented Jan 13, 2016

Minimatch's options param is not exposed, so right now copy-webpack can't ignore files like '.eslint' using a pattern like '**/*'

function shouldIgnore(pathName, ignoreList) {
  var matched = _.find(ignoreList, function(glob) {
    return minimatch(pathName, glob, {
      matchBase: true,
      dot: true
    });
  });
@GirlBossRush
Copy link

@kevlened,

Could you expose this option? I'd like to include files prefixed with a dot.

Thank you!

kevlened added a commit that referenced this issue Jan 26, 2016
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