systemjs / plugin-babel

SystemJS Babel Plugin
MIT License
83 stars 33 forks source link

How to remove flow type annotation with babel plugins #89

Open alice-chen-sfdc opened 6 years ago

alice-chen-sfdc commented 6 years ago

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?