Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GulpUglifyError: unable to minify JavaScript
- Caused by: SyntaxError: Invalid assignment
- File: app/assets/js/main.js
- Line: 92
- invalid assignment [] =
- [newTitle, newVal] = $('#' + elementId + '-title').text().replace('*', '').split(':');
- [prodW = 0, prodL = 0, boxL = 0] = currentOption.text().split(/[/-]/);
- gulp.task('compressJS', function (cb) {
- pump([
- gulp.src('app/assets/js/*.js'),
- uglify(),
- gulp.dest('build/js/')
- ],
- cb
- );
- });
Add Comment
Please, Sign In to add comment