-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make excludes more flexible #12
base: master
Are you sure you want to change the base?
Conversation
Hi, @ajbeaven It does not work for default tasks from the readme. |
Hrm... what's not working? With a package.json like so:
And a gulpfile.js like so:
Here's a zip file of the above test project. When you run up the project above using the code below, it seems to correctly exclude all js files (leaving nothing but empty folders in the moment package referenced above):
Using |
But it crashes without |
Works fine on my machine... can you give more details? What error message do you get? |
Looks like I have found where the problem was. In truth, I don't like the idea to set up an excludes always with extra asterisks. |
I think it makes a lot more sense. It is unexpected to have the excludes be applied on a per-package basis IMO. I see the most common use case being that you want to exclude a particular file or set of files in a particular package. With the current iteration, that's not made easy. |
Apply excludes on the root node modules folder rather than every individual package which allows for more flexibility.
This will potentially break existing installs, so suggest you bump the major version.