Skip to content

exclude node_modules unless explicitly included#17604

Merged
rbuckton merged 4 commits into
masterfrom
implicitlyExcludeNodeModules
Aug 8, 2017
Merged

exclude node_modules unless explicitly included#17604
rbuckton merged 4 commits into
masterfrom
implicitlyExcludeNodeModules

Conversation

@rbuckton
Copy link
Copy Markdown
Contributor

@rbuckton rbuckton commented Aug 4, 2017

With this PR we now implicitly exclude "node_modules", "bower_components", and "jspm_packages" from matching wildcards in the "includes" entry in tsconfig.json. It is still possible to include one of these folders if needed by providing an explicit entry in "include". This is a breaking change, but the behavior is more reliable for users.

Fixes #12750

@rbuckton rbuckton requested review from a user and weswigham August 4, 2017 01:40
@rbuckton rbuckton force-pushed the implicitlyExcludeNodeModules branch from dfc077d to b747c2d Compare August 4, 2017 01:48
Copy link
Copy Markdown
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's some trailing whitespace to trim, but otherwise 👍.

@rbuckton rbuckton merged commit 5a64556 into master Aug 8, 2017
@rbuckton rbuckton deleted the implicitlyExcludeNodeModules branch August 8, 2017 01:39
@rbuckton rbuckton restored the implicitlyExcludeNodeModules branch August 8, 2017 01:40
@ghost ghost deleted the implicitlyExcludeNodeModules branch August 8, 2017 14:13
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants