Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JavaScriptures 5 - Babel & Webpack
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Artsy Open Source
April 13, 2018
Programming
0
620
JavaScriptures 5 - Babel & Webpack
https://github.com/artsy/javascriptures/tree/master/6_babel-webpack
Artsy Open Source
April 13, 2018
Tweet
Share
More Decks by Artsy Open Source
See All by Artsy Open Source
Adding React Native to an Existing App - Artsy x React Native 2018
artsyopensource
0
660
The Artsy Omakase - Artsy x React Native 2018
artsyopensource
1
1.1k
Learning How to Learn - Artsy x React Native
artsyopensource
0
560
JavaScriptures 4.2 - Local State
artsyopensource
0
590
JavaScriptures 3 - Styled Components
artsyopensource
1
460
JavaScriptures 4.1 - Relay
artsyopensource
0
280
JavaScriptures 2 - TypeScript
artsyopensource
0
390
JavaScriptures 1 - React
artsyopensource
0
400
Other Decks in Programming
See All in Programming
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
1.5k
安いハードウェアでVulkan
fadis
1
830
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
300
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
430
AI 開発合宿を通して得た学び
niftycorp
PRO
0
180
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
230
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
310
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
150
Ruby and LLM Ecosystem 2nd
koic
1
1.3k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.1k
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Chasing Engaging Ingredients in Design
codingconduct
0
150
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
300
Facilitating Awesome Meetings
lara
57
6.8k
Music & Morning Musume
bryan
47
7.1k
Tell your own story through comics
letsgokoyo
1
870
Designing for Timeless Needs
cassininazir
0
180
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
190
Practical Orchestrator
shlominoach
191
11k
Transcript
Babel/Webpack Be fruitful, and bundle JavaScriptures V Chris
None
But first, what is JavaScript?
None
None
Then Google Maps happened
None
JavaScript quickly went from being a “toy language” to something
that was understood to be capable of real power
But there were problems...
None
None
None
None
None
NodeJS opened up the world of JavaScript to a new
community
(But the language had problems)
None
However, server-side JavaScript started to be used in all sorts
of creative ways
It started to rewrite itself
None
None
CoffeeScript was the spark. It showed the world that if
you didn’t like the language you could change it, and you didn’t need the browser vendors to do so
None
None
Babel has support for the latest version of JavaScript through
syntax transformers. These plugins allow you to use new syntax without waiting for browser support
Before browser vendors implemented support for modern JavaScript this was
essential
Babel unlocked JavaScript’s potential as a language that can be
enjoyable to use
It also created a platform for real-time, open-source language development
and exploration
None
Language proposals are submitted by TC39, and prototyped with Babel
These proposals are then moved in stages through the approval
process
None
Once a proposal has reached Stage IV it is considered
stable and will be incorporated into the language
How does this apply to Artsy?
None
Our JavaScript projects incorporate many language features, some of which
are not a part of the official JavaScript spec
None
None
“JavaScript that Scales” (it’s true)
None
These language features don’t run natively in the browser
They need to be transpiled into something that the browser
(or the server) can understand
None
With JavaScript’s low and high-level language features, anything is possible
None
4. You are expected to expect the unexpected every minute,
every hour of every day and of every night. - John C. Lilly
And things move fast....
None
Things that were previously impossible to imagine have become possible,
as well as common
WebAssembly (abbreviated Wasm) is a binary instruction format for a
stack-based virtual machine. Wasm is designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications.
JavaScript frameworks can make use of WebAssembly to confer massive
performance advantages and new features while still making functionality easily available to web developers.
But how does one manage this outward-spiraling complexity?
None
None
Webpack is a Module Bundler that runs during development
It builds a dependency graph of your application and combines
those assets into one or more bundles to be consumed by a target
None
Simply put…
None
None
It provides a common set of tools for managing application
complexity
None
Because of its robust dependency graph architecture, powerful developer tooling
can be built on top of it
None
And the overall developer experience highly optimized
None
However, Webpack configuration can be complex
None
It is designed for planet scale
But it can also be simple
webpack --mode development --output dist/bundle.js --watch
None
Webpack 4 can run without configuration via the “development” --mode
flag
What does a basic Webpack config look like?
None
None
None
None
What about a server?
None
None
None
Thanks!
None