React Native Set STRC bezwzględna ścieżka

// Create a package.json inside the src folder
// with the following content

{
    "name": "src"
}

//Then you can reference other files as such
import hello from 'src/foo/hello'

Beautiful Bee