Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 467 Bytes

File metadata and controls

33 lines (23 loc) · 467 Bytes

babel-plugin-transform-es2015-typeof-symbol

Installation

$ npm install babel-plugin-transform-es2015-typeof-symbol

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-es2015-typeof-symbol"]
}

Via CLI

$ babel --plugins transform-es2015-typeof-symbol script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-es2015-typeof-symbol"]
});