Package Exports
- rehype-remove-comments
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 (rehype-remove-comments) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
rehype-remove-comments
Remove comments (except conditional comments).
When configured with force: true (default: false), conditional
comments are also removed.
Install
npm install rehype-remove-commentsExample
In
<!--Hello-->
<!--[if IE 6]>OK<![endif]-->Out
<!--[if IE 6]>OK<![endif]-->