Sha256: c99273d59c5c074c8e150ed6ea0ab08acf753af0d31d3e822a6a67e416060e9b
Contents?: true
Size: 546 Bytes
Versions: 8
Compression:
Stored size: 546 Bytes
Contents
# babel-plugin-transform-es2015-shorthand-properties Compile ES2015 shorthand properties to ES5 ## Installation ```sh $ npm install babel-plugin-transform-es2015-shorthand-properties ``` ## Usage ### Via `.babelrc` (Recommended) **.babelrc** ```json { "plugins": ["transform-es2015-shorthand-properties"] } ``` ### Via CLI ```sh $ babel --plugins transform-es2015-shorthand-properties script.js ``` ### Via Node API ```javascript require("babel-core").transform("code", { plugins: ["transform-es2015-shorthand-properties"] }); ```
Version data entries
8 entries across 8 versions & 2 rubygems