Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var gulp = require('gulp'); //Add dependency to package.json if not added
var replace = require('gulp-replace'); //Add dependency to package.json if not added
gulp.task('tweak-minJs', function () {
gulp.src(['dist/temp/prod/app/bundle.min.js'])
.pipe(replace('moduleId:module.id,', ''))
.pipe(gulp.dest('dist/prod/src/app'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment