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

Excluding folder .meteor does not work #23

Open
derwaldgeist opened this issue Sep 2, 2017 · 3 comments
Open

Excluding folder .meteor does not work #23

derwaldgeist opened this issue Sep 2, 2017 · 3 comments

Comments

@derwaldgeist
Copy link

derwaldgeist commented Sep 2, 2017

ImportJS is really cool, but I have problems excluding the folder .meteor.

Here's my setup:

module.exports = {
  declarationKeyword: 'import',
  environments: [
    'meteor', 'browser'
  ],
  excludes: ['.meteor/**', 'private/**', 'public/**']
}

To my understanding, this should exclude the .meteor folder, but it doesn't. I still get results from that folder.

I also tried /.meteor/** and .**/**, but none of them worked. If I try it in globtester, they are matched correctly.

@hexsprite
Copy link

I have './.meteor/**' and it works for me

@derwaldgeist
Copy link
Author

Ok, will try this :-)

@trotzig
Copy link
Contributor

trotzig commented Sep 4, 2017

Thanks for the report. It sounds like we should support both those glob patterns. A PR adding some kind of normalization to the glob patterns (adding a ./ might be enough) would be very appreciated!

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

3 participants