We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56d34c0 commit c7352c7Copy full SHA for c7352c7
packages/babel-preset-react-app/README.md
@@ -51,3 +51,12 @@ Make sure you have a `tsconfig.json` file at the root directory. You can also us
51
"presets": [["react-app", { "flow": false, "typescript": true }]]
52
}
53
```
54
+
55
+## Absolute Runtime Paths
56
+Absolute paths are enabled by default for imports. To use relative paths instead, set the `absoluteRuntime` option in `.babelrc` to `false`:
57
58
+```
59
+{
60
+ "presets": [["react-app", { "absoluteRuntime": false }]]
61
+}
62
0 commit comments