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

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

Closed
jamestalmage opened this issue Apr 4, 2016 · 1 comment · Fixed by singapore/gl-got#20
Assignees
Labels
bug current functionality does not work as desired

Comments

@jamestalmage
Copy link
Contributor

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

@novemberborn
Copy link
Member

This will be done as part of RFC001.

@novemberborn novemberborn reopened this Feb 10, 2017
@novemberborn novemberborn added bug current functionality does not work as desired and removed enhancement new functionality help wanted labels Feb 10, 2017
@novemberborn novemberborn self-assigned this Feb 10, 2017
novemberborn added a commit that referenced this issue Feb 14, 2017
novemberborn added a commit that referenced this issue Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug current functionality does not work as desired
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants