babel-plugin-member-expression-literals
Turn valid member expression property literals into plain identifiers
Installation
$ npm install babel-plugin-member-expression-literals
Usage
.babelrc
(Recommended)
Via .babelrc
{
"plugins": ["member-expression-literals"]
}
Via CLI
$ babel --plugins member-expression-literals script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["member-expression-literals"]
});