Package Exports
- @jsep-plugin/comment
- @jsep-plugin/comment/dist/cjs/index.cjs.js
- @jsep-plugin/comment/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/comment) 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/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/commentUsage
import jsep from 'jsep';
import jsepComment from '@jsep-plugin/comment';
jsep.plugins.register(jsepComment);