Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix module mapper regex in Flow documentation #7731

Merged
merged 1 commit into from
Sep 25, 2019
Merged

docs: fix module mapper regex in Flow documentation #7731

merged 1 commit into from
Sep 25, 2019

Commits on Sep 25, 2019

  1. Update adding-flow.md

    With the currently documented regex we catch relative imports, that then get wrongly mapped.
    
    For example, `./Foobar.js` will become `<PROJECT_ROOT>/src/./Foobar.js`, instead of `<PROJECT_ROOT>/src/the/real/file/path/Foobar.js`.
    
    The new regex will exclude imports starting with a dot (`.`)
    FezVrasta authored Sep 25, 2019
    Configuration menu
    Copy the full SHA
    c3d1767 View commit details
    Browse the repository at this point in the history