1.0.8 • Published 9 months ago

@cdztt/gulp-trimcomments v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Remove comments from the .js or .json file

  1. npm i -D @cdztt/gulp-trimcomments
  2. Write the following code in the gulpfile .js file
const { src, dest } = require('gulp');
const { TrimComments } = require('@cdztt/gulp-trimcomments');

function task() {
  return src('test.json' /* The target .js or .json file to process */)
    .pipe(new TrimComments())
    .pipe(dest('./' /* Modify the file in place */));
}

exports.default = task;

wiki

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago