function prepareassets()

in gulpfile.js [61:77]


function prepareassets (cb) {
  // buffer true lead to missing assets on vynl
  const srcopts = { base: srcDir, cwd: srcDir, strict: true, buffer: false, encoding: false }
  const destopts = { encoding: false }
  const assetsGlob = [
    'fonts/*.{ttf,woff*(2),svg,eot}',
    'css/*.css',
    'js/**/*.js',
    'helpers/*.js',
    'images/**/*.{svg,png,gif,jpg}',
    'images/fav/browserconfig.xml',
    'images/fav/site.webmanifest',
    'images/fav/favicon.ico',
    'layouts/*.hbs',
    'partials/*.hbs']
  vfs.src(assetsGlob, srcopts).pipe(vfs.dest(destDir, destopts)).on('finish', cb)
}