Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

How to remove flow type annotation with babel plugins #89

Open
alice-chen-sfdc opened this issue Jun 28, 2018 · 0 comments
Open

How to remove flow type annotation with babel plugins #89

alice-chen-sfdc opened this issue Jun 28, 2018 · 0 comments

Comments

@alice-chen-sfdc
Copy link

I am using plugin-babel with

		"*.js": {
			"babelOptions": {
				"plugins": ["babel-plugin-transform-flow-strip-types"]
			}
		}

and

"babel-plugin-transform-flow-strip-types": "node_modules/babel-plugin-transform-flow-strip-types/lib/index.js"

But it turns out for every single dependency I will need to add an entry in the map section.

Is there a better way?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant