Learning GulpConcatenating files 21 Examples 21 Concat all css files into one using gulp-concat 21 Concat and Uglify JS and CSS files 21 Chapter 5: Create a watcher 23 Examples 23 Watcher task 23 Chapter 6: Create file in sub folder using gulp var gulp = require('gulp'); // include plug-ins var uglify = require('gulp-uglify'), concat = require('gulp-concat'); // Minified file gulp.task('packjsMin', function() { return gulp.src('node_modules/angular/*.js') .pipe(concat('script.js')) .pipe(uglify()) .pipe(gulp.dest('Scripts')); }); //Not minified file gulp.task('packjs', function0 码力 | 45 页 | 977.19 KB | 1 年前3
Awesome Native Apps with NativeScript and AngularNativeScript and Angular - Rowdy Rabouw - jfokus 2018 - @rowdyrabouw 42/120 Performance Optimization 4 Uglify 4 code minification 4 reduces names of local variables 4 Lazy-Load modules 4 not all modules0 码力 | 120 页 | 31.85 MB | 1 年前3
共 2 条
- 1













