-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Labels
declarationsIssues with library definitions or .js.flow featuresIssues with library definitions or .js.flow featuresfeature request
Description
(I searched for an existing issue but couldn't find one so sorry if this is a duplicate)
The problem
The problem is that we want flow to understand the types of flow-typed modules correctly when requiring them.
The workaround
We currently have to keep .flow files along with .js files after they are babel compiled and that adds an extra build step and a ton of headache.
The solution
If Flow has support for flow:main (like jsnext:main for rollup), we would not have to add anything new to our build step. We can just leave the src dir in our npm package and set flow:main to src/.
This is a follow up to #1459
natew, ckknight, jaketrent, spalger, kuzmenko1256 and 5 more
Metadata
Metadata
Assignees
Labels
declarationsIssues with library definitions or .js.flow featuresIssues with library definitions or .js.flow featuresfeature request