Skip to content

babelConfig function  #77

Description

@divmain

The function should accept the module object as its argument and return a babel config object. This will allow you to transform based upon module namespace, file path, or other property.

In the case of React, for example, we'd want the equivalent of webpack's DefinePlugin as a babel transform, but nothing else.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions