Skip to content

Commit

Permalink
fix(build): remove image optimization step in artifacts building
Browse files Browse the repository at this point in the history
Assuming the images are already optimized in development stage, remoce
this step to spped up artifacts building.
  • Loading branch information
dnlup committed Jan 24, 2018
1 parent dbf49a4 commit 27755ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const pack = require('./package.json')
const exec = util.promisify(require('child_process').exec)
const mkdirp = util.promisify(require('mkdirp'))
const ecadoc = require('./ecadoc/ecadoc.json')
require('./optimize')
// require('./optimize')

let bookFileName = ecadoc.id
let bookVersion = pack.version
Expand All @@ -35,4 +35,4 @@ gulp.task('pdf', async () => {
})

gulp.task('build', ['book', 'pdf'])
gulp.task('default', sequence('optimize', 'pre:build', 'build'))
gulp.task('default', sequence(/*'optimize',*/ 'pre:build', 'build'))

0 comments on commit 27755ee

Please sign in to comment.