This gulp plugin is wrapper of gnirts.
- Grunt plugin: grunt-gnirts
- webpack loader: gnirts-loader
Obfuscate string literals in JavaScript code.
See gnirts for more information about gnirts.
npm install gulp-gnirts --save-dev
gulpfile.js
var gulp = require('gulp'),
gnirts = require('gulp-gnirts');
gulp.task('default', function() {
return gulp.src('./develop/*.js')
.pipe(gnirts())
.pipe(gulp.dest('./public_html/'));
});