gulp-mangle-systemjs-bundles
Gulp stream to mangle the module IDs and imports/exports contained in SystemJS bundle files.
This is a very early prerelease version and should not be used by the general public. It uses fragile regex replacement that will be converted to use uglify-es's AST in the future.
Install
npm install --save-dev gulp-mangle-systemjs-bundles
Usage
gulpfile.js
const gulp = ;const rename = ;const mangleBundles = ; //TODO: Create a better example with options, runSequence to combine bundle and config tasks. const mangleOptions = srcRoot: "src"; exclude: "src/keep-me" ; const mangle = ; gulp; gulp;