Skip to content

AndyRightNow/babel-plugin-transform-nej-amd

Repository files navigation

Version

babel-plugin-transform-nej-amd

Transform code using NEJ module system to AMD module system.

Usage

In .babelrc (Recommended)

.babelrc:

{
    "plugins": [
        ["transform-nej-amd", {
            "nejPathAliases": {
                "pro": "src/"
            }
        }]
    ]
}

For more information on NEJ path aliases, see the documentation of NEJ.

Options

Name: nejPathAliases

Type: Object

Description: Mapped NEJ path aliases. Will be replaced by the values given after transformation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published