This is a babel plugin to transform omodule structure scope constants.
$ npm install babel-plugin-transform-omodule-scope --save-dev
{
"plugins": "transform-omodule-scope"
}
-
rootPath
: (Default: project root) - specify the root of omodule structure.
{
"plugins": [
[
"transform-omodule-scope",
{ "rootPath": "./src" }
]
]
}