Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Gulp 芸

Gulp 芸

Yuki Ishikawa

October 28, 2015
Tweet

More Decks by Yuki Ishikawa

Other Decks in Technology

Transcript

  1. ;ͭ͏ͷ࢖͍ํ • ES2015 / AltJS Λ ES5 ʹτϥϯεύΠϧ • JS

    ͷ minify / bundle • Sass ΛίϯύΠϧ / minify / autoprefix • gzip ੜ੒ • lint
  2. ύʔϚϦϯΫͬΆ͘͢Δ .pipe(rename((path) => { path.dirname += '/' + path.basename; path.basename

    = 'index'; path.extname = 'html'; return path; })) • gulp-rename
  3. 4/4Ͱ֦ࢄ͢Δ var oauth = { consumerKey: '...', ... }; gulp.src('package.json')

    .pipe(twitter(oauth, 'ϒϩάߋ৽!!!')); • gulp-twitter