Fix: config lookup logic in babel-core (#5550)
This fixes a bug that was causing the config lookup to stop when a package.json file was found even if it did not contain a "babel" key.
This commit is contained in:
5
packages/babel-core/test/fixtures/config/dir3/package.json
vendored
Normal file
5
packages/babel-core/test/fixtures/config/dir3/package.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
{
|
||||
"name": "application-name",
|
||||
"version": "0.0.1"
|
||||
}
|
||||
1
packages/babel-core/test/fixtures/config/dir3/src.js
vendored
Normal file
1
packages/babel-core/test/fixtures/config/dir3/src.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
// empty
|
||||
Reference in New Issue
Block a user