Issue
Does not remove comment blocks that are written in JSDoc style. Tested with version 2.0.1
Reproduce
An example of a JavaScript code with comments:
/* this will be removed */
// and so will this
/**
* But this will not - jsdoc style comments for documentation creation
* @param {Number} a
* @param {Number} b
* @returns {Number}
*/
var testMethod = (a,b) => {
return a*b;
};
In gulp file:
var strip = require("strip-comments");
var src_code = fsystem.readFileSync("path/to/file.js","utf8");
var stripped = strip(src_code);
console.log(stripped);
Issue
Does not remove comment blocks that are written in JSDoc style. Tested with version 2.0.1
Reproduce
An example of a JavaScript code with comments:
In gulp file: