-
Notifications
You must be signed in to change notification settings - Fork 32
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
how to have flow resolve the aliases ? #49
Comments
You can close the ticket The answer is to add the map to .flowconfig for each alias like below .flowconfig
|
Just a tip, as I recently went through the fun of fighting with Flow and Webpack aliases, but if all your aliases share a common parent, let's say This works like Webpack 2's
Then you could reference all folders/files without including the src/js part. This is useful as it's a onetime setup. The
This would allow you to then do Hope that helps. |
Should this also work for files outside the project root?
|
Tried this on my project doesn't seem to work, interested to know if it is actually possible. |
Flow error
resolve portion of my webpack config
.babelrc
package.json
The text was updated successfully, but these errors were encountered: