Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve the absolute path to the current directory (#266)
When running `cli-app-scripts test` in an app, the line: extends: './app.babel.config' Incorrectly resolves from the current working directory: Cannot find module './app.babel.config' from '/home/varl/dev/dhis2/apps/usage-analytics' We can use `path.resolve` + `__dirname`[1] to resolve the absolute path of the `app.babel.config.js` file relatively to `babel.config.js`. [1] https://nodejs.org/api/globals.html#globals_dirname
- Loading branch information