I was able to import files outside of src/ by "copying" the outside files with file: as local dependency.
"dependencies": {
"@my-project/outside-dist": "file:./../../../../dist".
}
then
import {FooComponent} from "@my-project/outside-dist/components";
No `eject` or `react-app-rewired` or `other 3rd-party` solution was needed.
I was able to import files outside of `src/` by "copying" the outside files with `file:` as local dependency.
```
"dependencies": {
"@my-project/outside-dist": "file:./../../../../dist".
}
```
then
```
import {FooComponent} from "@my-project/outside-dist/components";
```
No `eject` or `react-app-rewired` or other 3rd-party solution was needed.