0.3.5 • Published 6 years ago
babel-plugin-transform-omodule-scope v0.3.5
babel-plugin-transform-omodule-scope
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" }
]
]
}