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

How to remove flow type annotation with babel plugins #89

Description

@alice-chen-sfdc

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions