update resume
This commit is contained in:
1 parent
fc44782dce
commit
b3b4e9e43f
2 files changed
+126
-73
No files matched your search
+7
-5
@@ -84,14 +84,14 @@ init = (pathName) => {
|
||||
.pipe(plumber({
|
||||
errorHandler: onErrorHandler
|
||||
}))
|
||||
.pipe(babel({
|
||||
presets: ['env']
|
||||
}))
|
||||
.pipe(webpack({
|
||||
output: {
|
||||
filename: 'index.js',
|
||||
}
|
||||
}))
|
||||
.pipe(babel({
|
||||
presets: ['env']
|
||||
}))
|
||||
//.pipe(webpack( require('./webpack.config.js')(pathConfig.scriptBuildPath) ))
|
||||
.pipe(gulp.dest(pathConfig.babelOutPath))
|
||||
.on("end", reload);
|
||||
@@ -105,7 +105,9 @@ init = (pathName) => {
|
||||
.pipe(plumber({
|
||||
errorHandler: onErrorHandler
|
||||
}))
|
||||
.pipe(uglify())
|
||||
.pipe(uglify({
|
||||
ie8: true
|
||||
}))
|
||||
.pipe(gulp.dest(config.build))
|
||||
.on("end", reload);
|
||||
});
|
||||
@@ -181,7 +183,7 @@ init = (pathName) => {
|
||||
});
|
||||
|
||||
gulp.task('dev', function() {
|
||||
runSequence('stylus_build', 'swig_build', 'htmlmin_build', 'tmod_build', 'babel_build', 'server');
|
||||
runSequence('stylus_build', 'swig_build', 'htmlmin_build', 'tmod_build', 'babel_build', 'uglify_build', 'server');
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user