Skip to content

Normalize relative paths in babel.extends, plugins, and presets to package.json directory #707

Closed
singapore/gl-got
#20
@jamestalmage

Description

@jamestalmage

Probably best handled along with #700.

Assuming following config in package.json:

{
  "ava": {
    "babel": {
       "extends": "./some-config.json"
     }
  }
}

It will work as long as process.cwd() is the same as package.json.

cli.js should normalize the path to package.json (api.js does not know anything about package.json).

This should be part of the config normalizing discussed in #700

Metadata

Metadata

Assignees

Labels

bugcurrent functionality does not work as desired

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions