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

loadConfig searching should stop once projectRoot is reached #5560

Closed
mischnic opened this issue Jan 1, 2021 · 0 comments Β· Fixed by #6230
Closed

loadConfig searching should stop once projectRoot is reached #5560

mischnic opened this issue Jan 1, 2021 · 0 comments Β· Fixed by #6230

Comments

@mischnic
Copy link
Member

mischnic commented Jan 1, 2021

πŸ› bug report

Config searching should stop once projectRoot is reached.

πŸ€” Expected Behavior

Configs outside the project should not be read.

😯 Current Behavior

They are applied.

πŸ’» Code Sample

.
β”œβ”€β”€ .terserrc
└── project
    β”œβ”€β”€ dist
    β”‚Β Β  β”œβ”€β”€ index.js
    β”‚Β Β  └── index.js.map
    β”œβ”€β”€ index.js
    β”œβ”€β”€ package.json
    └── yarn.lock
{
  "compress": false,
  "mangle": false
}
@mischnic mischnic changed the title Stop loadConfig searching once projectRoot is reached loadConfig searching should stop once projectRoot is reached Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant