Can uglify combine the js of the sub-modules into one, and then the combined js can run normally?

  node.js, question

I wrote a js, which uses other js modules. Can this module be combined into one and still function normally?

gulp.task('vendor',()=>
 gulp.src([
 'bower_components/jquery/dist/jquery.js',
 'bower_components/bootstrap/dist/js/bootstrap.js',
 'bower_components/magnific-popup/dist/jquery.magnific-popup.js',
 'bower_components/toastr/toastr.js'
 ]).pipe(concat('vendor.js'))
 .pipe(gulpif(production,uglify({ mangle:false })))
 .pipe(gulp.dest('public/js'))
 );

The above code uses gulp to merge multiple files into one, and uses uglify to confuse them in production mode.