Package Exports
- @jsep-plugin/assignment
- @jsep-plugin/assignment/dist/cjs/index.cjs.js
- @jsep-plugin/assignment/dist/index.js
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 (@jsep-plugin/assignment) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@jsep-plugin/assignment
A JSEP plugin for adding assignment expression support. Allows expressions of the form:
jsep('a = 2');
jsep('a += 2');
jsep('a++');
jsep('--aa');
Install
npm install @jsep-plugin/assignment
# or
yarn add @jsep-plugin/assignment
Usage
import jsep from 'jsep';
import jsepAssignment from '@jsep-plugin/assignment';
jsep.plugins.register(jsepAssignment);