babel-plugin-transform-omodule-scope

0.3.5 • Public • Published

babel-plugin-transform-omodule-scope

Build Statusnpm
This is a babel plugin to transform omodule structure scope constants.

Installation

$ npm install babel-plugin-transform-omodule-scope --save-dev

Configuration

.babelrc

{
    "plugins": "transform-omodule-scope"
}

Options

  • rootPath: (Default: project root) - specify the root of omodule structure.
{
    "plugins": [
        [
            "transform-omodule-scope",
            { "rootPath": "./src" }
        ]
    ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i babel-plugin-transform-omodule-scope

Weekly Downloads

8

Version

0.3.5

License

MIT

Last publish

Collaborators

  • wuchangming