diff --git a/packages/babel-preset-react-app/README.md b/packages/babel-preset-react-app/README.md index 4235416b167..415d706271d 100644 --- a/packages/babel-preset-react-app/README.md +++ b/packages/babel-preset-react-app/README.md @@ -51,3 +51,12 @@ TypeScript is enabled by default. Make sure you have a `tsconfig.json` file at t "presets": [["react-app", { "flow": false, "typescript": true }]] } ``` + +## Absolute Runtime Paths +Absolute paths are enabled by default for imports. To use relative paths instead, set the `absoluteRuntime` option in `.babelrc` to `false`: + +``` +{ + "presets": [["react-app", { "absoluteRuntime": false }]] +} +```