You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
babel does this, and when I just run flow-copy-source, flow doesn't appear to be able to find the correct files until I rename all the .jsx.flow files to .js.flow.
The text was updated successfully, but these errors were encountered:
This sounds like a good feature. I'm fine with making it the default behavior, though I'm going to consider it a breaking change and bump the major version number.
Should any other extensions be changed to .js? (Like .mjs?) I'd like the default to be consistent with whatever the babel CLI tool does.
I'm not an .mjs user and I'm not sure what the story is for how people use .mjs. I expect for publishing libraries, people still rename to .js, though?
Always renaming to .js seems like a sane default. You could add a configuration option if people need it.
babel
does this, and when I just runflow-copy-source
,flow
doesn't appear to be able to find the correct files until I rename all the.jsx.flow
files to.js.flow
.The text was updated successfully, but these errors were encountered: