-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
feat(config): add ignoreOptions
for node-ignore
#6597
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
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #6597 +/- ##
==========================================
+ Coverage 95.79% 95.83% +0.03%
==========================================
Files 78 78
Lines 2713 2714 +1
Branches 702 702
==========================================
+ Hits 2599 2601 +2
+ Misses 99 98 -1
Partials 15 15
Continue to review full report at Codecov.
|
ignoreOptions
for node-ignore
Just tried this in the latest release 2.11.0 and it doesn't seem to be working.
export default {
// .nuxtignore
ignoreOptions: {
ignorecase: false,
},
};
All |
@chriscalo What is the version of ignore in you project? The options is supported from v4 |
And also can you try by exact path like pattern abc.vue doesn’t ignore ABC.vue. |
@clarkdo, thanks for the reply. I'll check on the version when I get back to a computer, I haven't installed ignore myself. It's a dependency of Nuxt, so shouldn't Nuxt control the version rather than me?
Not sure what you mean by this. Can you say more? Where should I try exact paths? |
Yes, it’s a dep from nuxt, but it may have conflict or hoisting if your other dep also has ignore package as a dep. |
I’m sorry that I’m in holiday. I’ll check this as soon as I’m back. |
Here's what I found in my
|
Thanks, will try that.
Enjoy! Please don't rush on my account. This refactoring can wait. Just wanted to point out that it didn't seem to be working. Happy to provide more debug info if that's useful. |
I think I may have figured out the problem: my macOS HD is case insensitive, which I'm guessing means the |
Types of changes
Description
Since node-ignore 4.x, it has support
options
as parameter of constructor, so this pr is adding the config from nuxt.config.js.With this change, #6588 can be solved by:
TODO: