Gulp 芸

Gulp 芸

A61adad507d7bc0ee5b52ebe333abed7?s=128

Yuki Ishikawa

October 28, 2015
Tweet

Transcript

  1. 2.
  2. 6.

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

    ͷ minify / bundle • Sass ΛίϯύΠϧ / minify / autoprefix • gzip ੜ੒ • lint
  3. 11.
  4. 16.

    ύʔϚϦϯΫͬΆ͘͢Δ .pipe(rename((path) => { path.dirname += '/' + path.basename; path.basename

    = 'index'; path.extname = 'html'; return path; })) • gulp-rename
  5. 24.

    4/4Ͱ֦ࢄ͢Δ var oauth = { consumerKey: '...', ... }; gulp.src('package.json')

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