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

Using Source Maps in 2015

Using Source Maps in 2015

And introducing the greatest compiles-to-js language of all time, arnoldc.js

Matt Steele

April 08, 2015
Tweet

More Decks by Matt Steele

Other Decks in Programming

Transcript

  1. GET TO THE CHOPPER a HERE IS MY INVITATION 4

    GET UP b YOU'RE FIRED 2 ENOUGH TALK a = (4 + b) * 2
  2. HEY CHRISTMAS TREE foo YOU SET US UP @I LIED

    HEY CHRISTMAS TREE bar YOU SET US UP @NO PROBLEMO foo = false bar = true
  3. 1.

  4. 2.

  5. 2.

  6. So

  7. 2. Gulp > Grunt (for this) Tips gulp.task('javascript', function() {

    gulp.src('src/**/*.js') .pipe(sourcemaps.init()) .pipe(plugin1()) .pipe(plugin2()) .pipe(sourcemaps.write()) .pipe(gulp.dest('dist')); });