Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JavaScriptures 5 - Babel & Webpack
Search
Artsy Open Source
April 13, 2018
Programming
660
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JavaScriptures 5 - Babel & Webpack
https://github.com/artsy/javascriptures/tree/master/6_babel-webpack
Artsy Open Source
April 13, 2018
Transcript
84 slides
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
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
720
The Artsy Omakase - Artsy x React Native 2018
artsyopensource
1
1.2k
Learning How to Learn - Artsy x React Native
artsyopensource
0
600
JavaScriptures 4.2 - Local State
artsyopensource
0
630
JavaScriptures 3 - Styled Components
artsyopensource
1
500
JavaScriptures 4.1 - Relay
artsyopensource
0
310
JavaScriptures 2 - TypeScript
artsyopensource
0
430
JavaScriptures 1 - React
artsyopensource
0
430
Other Decks in Programming
See All in Programming
AppFunctionsの内部実装を紐解く
hiroaki404
1
120
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
Skills Are the New npm [AAIF Bengaluru, Nov 2026]
shivamsaraswat
0
130
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
690
The Cost of the DOM
ypresto
2
370
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
150
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
180
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
480
Distance field of Julia set
kinakomoti321
0
330
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
300
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
430
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.3k
Between Models and Reality
mayunak
4
610
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
970
Fireside Chat
paigeccino
43
4.1k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
540
Building Applications with DynamoDB
mza
96
7.3k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
Paper Plane (Part 1)
katiecoart
PRO
3
12k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k