-
Notifications
You must be signed in to change notification settings - Fork 32
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: