-
-
Notifications
You must be signed in to change notification settings - Fork 942
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
Ignore node_modules effectively #2171
Conversation
@@ -365,3 +365,41 @@ describe("using codeFilename and ignoreFiles with configBasedir", () => { | |||
expect(_.get(results[0], [ "_postcssResult", "standaloneIgnored" ])).toBeTruthy() | |||
}) | |||
}) | |||
|
|||
describe("file in node_components", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node_modules
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦
Thanks for this @davidtheclark :) |
49bc5e5
to
dce664f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
5ce4660
to
dce664f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so I'd consider this a bug fix.
Agreed.
Changlelog:
|
Closes #2149.
Managed to reproduce that problem in a test case, and made it pass. I'm not sure if this feature ever worked before in the PostCSS plugin; but we always intended it to, assumed it did, so I'd consider this a bug fix.
cc @simonsmith