Open chiho13 opened 8 years ago
@chiho13 This looks good, 2 comments:
build
task is a misnomer, build
is typically short for build for production
, but we're using it to build the dev version of the app..pipe( gulp.dest( './' ) );
to .pipe(gulp.dest('./'));
do you mean the css minification and js uglify should be one task?
I think the most useful change is the ability for learners to minify main.js file, especially when they want to deploy the app. It reminds them what is good practice by keeping the total size of web app less than ~1.5 MB. It also saves a lot of initial loading time for visitors.