Package Exports
- gulp-javascript-obfuscator
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 (gulp-javascript-obfuscator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-javascript-obfuscator
Gulp plugin for javascript-obfuscator.
Installation
Install the package with NPM:
npm install --save gulp-javascript-obfuscator
Usage
var gulp = require('gulp'),
javascriptObfuscator = require('gulp-javascript-obfuscator');
gulp.src('file.js')
.pipe(javascriptObfuscator())
.pipe(gulp.dest('dist'));
Options
Pass any options available in the obfuscator.
gulp.src('file.js')
.pipe(javascriptObfuscator({
compact:true,
sourceMap: true
}))
.pipe(gulp.dest('dist'));
Using sourceMap option with value set to true will also output a .map file to Gulp stream.