SlideShare a Scribd company logo
Introduction to
Webpack and Babel
Let’s understand some frontend build tooling
Twitter - @Anshumaniac12
GitHub - @anshumanv
I’m Anshuman-san
Software Engineer at Clarisights
We’ll have an overview of build tooling in web
ecosystem, and build a basic react app from
scratch.
And some anime
Twitter - @Anshumaniac12
GitHub - @anshumanv
San is a honorofic in japan added to address boys
Basically writing code for them, nice place
Don’t do this please
What is frontend tooling?
Tools which help in developing frontend applications
● Building/transforming code
● Linting/formatting code
● Dependency management etc
Build tooling?
Build tooling deals with how the code you write gets shipped to the end user
Something you understand -> something which can efficiently run on the browser
Problems in traditional webpages
● Ordering issues, need to fetch scripts in specific order
● Fetching bloated scripts can delay render time (network bottleneck)
● Scope issues in case of huge single JS file
Introduction to webpack and babel
Introduction to webpack and babel
Babel is a code transpiler.
Convert modern JavaScript syntax
to something which browser
supports.
Enter
Webpack is a module bundler.
It bundles several pieces of your
application and creates static files
which can be served via a static
server
Enter
Introduction to webpack and babel
Introduction to webpack and babel
Let’s do some code 😟
Introduction to webpack and babel
Let’s create a traditional webpage first
Just gonna sprinkle some HTML, CSS, JavaScript, you know, basic stuff which
everyone has done
PS:
Let’s do some code transformation using Babel
Time to React (everyone’s fav)
Let’s try writing some React code and look for
ways of how we can run it in the browser
Wait so how do we run react now? - Enter webpack (again)
Time to write a webpack config 😱
Let’s make development easier ⚡
(we made it yayy!)
That’s it, that’s the workshop
We’d love to answer any queries you might have.
Q&A
Introduction to webpack and babel

More Related Content

PDF
Integrating react in django while staying sane and happy
PDF
An Introduction to ReactNative
PDF
Monorepo: React + React Native. React Alicante
PPTX
Test Driven Development in CQ5/AEM
PPTX
React Native.pptx (2)
PDF
VISUG: Visual studio for web developers
PDF
Building cross platform applications using Windows Azure Mobile Services
PDF
Bootstrapping your plugin
Integrating react in django while staying sane and happy
An Introduction to ReactNative
Monorepo: React + React Native. React Alicante
Test Driven Development in CQ5/AEM
React Native.pptx (2)
VISUG: Visual studio for web developers
Building cross platform applications using Windows Azure Mobile Services
Bootstrapping your plugin

What's hot (20)

PDF
Building plugins like a pro
PDF
Merged Automation Talk - Pete Carapetyan - Feb 2016
PDF
“Practical DevOps by a small team of devs” by Ilgvars Jēcis from FinoTech  at...
PPTX
Modern JavaScript Talk
PDF
Metaprogramming Go
PDF
PDF
Continuously delivering value
PDF
Headless cms architecture
PPTX
Integration of automation framework with ci tools
PPTX
HTML5 for dummies
PPTX
Windows 8
PPTX
A Minimalist’s Attempt at Building a Distributed Application
PPT
Rails Vs CakePHP
PPTX
[QE 2015] Sam Elamin - Monoliths to microservices - a journey
PDF
Testing apps with MTM and Tea Foundation Service
PDF
What I learned teaching programming to 150 beginners
PPTX
B4UConference_Sexy Angular Stack
PDF
Oleksii Pedorenko and Dmytro Melnychuk "DAO Project Experience"
PDF
iOS development best practices
PPTX
Developing silverlight 4 applications with expression blend 4 (30 Abr 2010)
Building plugins like a pro
Merged Automation Talk - Pete Carapetyan - Feb 2016
“Practical DevOps by a small team of devs” by Ilgvars Jēcis from FinoTech  at...
Modern JavaScript Talk
Metaprogramming Go
Continuously delivering value
Headless cms architecture
Integration of automation framework with ci tools
HTML5 for dummies
Windows 8
A Minimalist’s Attempt at Building a Distributed Application
Rails Vs CakePHP
[QE 2015] Sam Elamin - Monoliths to microservices - a journey
Testing apps with MTM and Tea Foundation Service
What I learned teaching programming to 150 beginners
B4UConference_Sexy Angular Stack
Oleksii Pedorenko and Dmytro Melnychuk "DAO Project Experience"
iOS development best practices
Developing silverlight 4 applications with expression blend 4 (30 Abr 2010)
Ad

Similar to Introduction to webpack and babel (20)

PPTX
Web summit.pptx
PDF
Class 6: Introduction to web technology entrepreneurship
PPTX
Webpack/Parcel: What’s Happening Behind the React App?
PDF
Frontend Development Bootcamp - React [Online & Offline] In Bangla
PDF
Node & Express as Workflow Tools
PPTX
The front end toolkit
DOCX
DigitalWorld Marketing
DOCX
Digital Marketing.docx
DOCX
Digital World Marketing
DOCX
Digital Marketing.docx
DOCX
Digital worldmarketing
DOCX
Digita World Marketing
DOCX
Digitl World Marketing
PDF
System design for Web Application
PPT
Java And Community Support
PDF
Migrating 25K lines of Ant scripting to Gradle
PPTX
Publishing strategies for API documentation
PDF
"Crafting a Third-Party Banking Library with Web Components and React", Germa...
PPTX
Boilerplates: Step up your Web Development Process
PDF
Learn reactjs, how to code with example and general understanding thinkwik
Web summit.pptx
Class 6: Introduction to web technology entrepreneurship
Webpack/Parcel: What’s Happening Behind the React App?
Frontend Development Bootcamp - React [Online & Offline] In Bangla
Node & Express as Workflow Tools
The front end toolkit
DigitalWorld Marketing
Digital Marketing.docx
Digital World Marketing
Digital Marketing.docx
Digital worldmarketing
Digita World Marketing
Digitl World Marketing
System design for Web Application
Java And Community Support
Migrating 25K lines of Ant scripting to Gradle
Publishing strategies for API documentation
"Crafting a Third-Party Banking Library with Web Components and React", Germa...
Boilerplates: Step up your Web Development Process
Learn reactjs, how to code with example and general understanding thinkwik
Ad

Recently uploaded (20)

PPTX
additive manufacturing of ss316l using mig welding
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
composite construction of structures.pdf
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Geodesy 1.pptx...............................................
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Construction Project Organization Group 2.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Digital Logic Computer Design lecture notes
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
web development for engineering and engineering
additive manufacturing of ss316l using mig welding
Arduino robotics embedded978-1-4302-3184-4.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
composite construction of structures.pdf
Strings in CPP - Strings in C++ are sequences of characters used to store and...
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Lecture Notes Electrical Wiring System Components
OOP with Java - Java Introduction (Basics)
Operating System & Kernel Study Guide-1 - converted.pdf
Geodesy 1.pptx...............................................
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Construction Project Organization Group 2.pptx
Sustainable Sites - Green Building Construction
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Digital Logic Computer Design lecture notes
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
573137875-Attendance-Management-System-original
web development for engineering and engineering

Introduction to webpack and babel

  • 1. Introduction to Webpack and Babel Let’s understand some frontend build tooling Twitter - @Anshumaniac12 GitHub - @anshumanv
  • 2. I’m Anshuman-san Software Engineer at Clarisights We’ll have an overview of build tooling in web ecosystem, and build a basic react app from scratch. And some anime Twitter - @Anshumaniac12 GitHub - @anshumanv San is a honorofic in japan added to address boys Basically writing code for them, nice place
  • 4. What is frontend tooling? Tools which help in developing frontend applications ● Building/transforming code ● Linting/formatting code ● Dependency management etc
  • 5. Build tooling? Build tooling deals with how the code you write gets shipped to the end user Something you understand -> something which can efficiently run on the browser
  • 6. Problems in traditional webpages ● Ordering issues, need to fetch scripts in specific order ● Fetching bloated scripts can delay render time (network bottleneck) ● Scope issues in case of huge single JS file
  • 9. Babel is a code transpiler. Convert modern JavaScript syntax to something which browser supports. Enter
  • 10. Webpack is a module bundler. It bundles several pieces of your application and creates static files which can be served via a static server Enter
  • 13. Let’s do some code 😟
  • 15. Let’s create a traditional webpage first Just gonna sprinkle some HTML, CSS, JavaScript, you know, basic stuff which everyone has done PS:
  • 16. Let’s do some code transformation using Babel
  • 17. Time to React (everyone’s fav) Let’s try writing some React code and look for ways of how we can run it in the browser
  • 18. Wait so how do we run react now? - Enter webpack (again)
  • 19. Time to write a webpack config 😱
  • 21. (we made it yayy!) That’s it, that’s the workshop
  • 22. We’d love to answer any queries you might have. Q&A