JSPM

  • Created
  • Published
  • Downloads 26916295
  • Score
    100M100P100Q278363F
  • License MIT

Allow parsing of the logical assignment operators

Package Exports

  • @babel/plugin-syntax-logical-assignment-operators

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@babel/plugin-syntax-logical-assignment-operators) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@babel/plugin-syntax-logical-assignment-operators

Allow parsing of the logical assignment operators.

Installation

npm install --save-dev @babel/plugin-syntax-logical-assignment-operators

Usage

.babelrc

{
  "plugins": ["@babel/plugin-syntax-logical-assignment-operators"]
}

Via CLI

babel --plugins @babel/plugin-syntax-logical-assignment-operators script.js

Via Node API

require("@babel/core").transform("code", {
  plugins: ["@babel/plugin-syntax-logical-assignment-operators"]
});