@jsep-plugin/comment
v1.0.4
Published
Adds comment expression support
Downloads
4,751
Readme
@jsep-plugin/comment
A JSEP plugin for adding comment expression support. Allows expressions of the form:
jsep('a = 2 // end of line comment');
jsep('a /* ignore this */ += 2');
jsep('a /* ignore \n this */ ++');
Install
npm install @jsep-plugin/comment
# or
yarn add @jsep-plugin/comment
Usage
import jsep from 'jsep';
import jsepComment from '@jsep-plugin/comment';
jsep.plugins.register(jsepComment);