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
Webpack the module bundler
Search
Jinny You
August 08, 2018
Programming
94
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Webpack the module bundler
사내 스터디 시간에 발표한 웹팩 관련 자료입니다.
Jinny You
August 08, 2018
More Decks by Jinny You
See All by Jinny You
나의 오픈소스 이야기 : 한 줄의 코드에서 글로벌 애니메이션 엔진까지
tinyjin
0
37
Next Gen Lottie: Powering Motion Graphics Across the Apple Ecosystem
tinyjin
0
30
디자이너와 개발자가 자주 겪는 Lottie 핸드오프 FAQ - Figma Config Watch Party Seoul
tinyjin
0
150
인디 앱 개발자와 Flutter
tinyjin
0
560
모던 웹 기술로 C++ 렌더링 엔진 테스트 자동화하기
tinyjin
0
110
그래픽 엔진 포팅 사례로 배우는 웹어셈블리 웹 컴포넌트 개발부터 디버깅, 최적화까지
tinyjin
0
540
韩国的打卡地:你喜欢海边吗?
tinyjin
0
110
LottieFiles로 시작하는 빠르고 효율적인 애니메이션 핸드오프
tinyjin
0
140
エンジニアが見つめるLottieアニメーション
tinyjin
0
160
Other Decks in Programming
See All in Programming
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
470
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
120
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
430
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
390
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
110
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
160
Heart of Swift Concurrency
koher
0
1.1k
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
210
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
750
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
190
速習iPhone Duo対応
yuukiw00w
2
920
Workers Cache を知る
syumai
0
320
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Why Our Code Smells
bkeepers
PRO
340
58k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
700
HDC tutorial
michielstock
2
930
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Statistics for Hackers
jakevdp
799
230k
A better future with KSS
kneath
240
18k
Side Projects
sachag
456
43k
Amusing Abliteration
ianozsvald
1
320
Transcript
Webpack 개발팀 유진의 2018.08.08 The Module Bundler
웹팩을 사용하는 이유?
1. 웹 기술의 진화 과거의 웹 어플리케이션 오늘날의 웹 어플리케이션
1. 웹 기술의 진화
2. 모듈화 문제 ‘모듈화’
2. 모듈화 문제
3. 크로스 브라우징
3. 크로스 브라우징
4. Npm과의 연결 Node Package Manager
4. Npm과의 연결
유사 소프트웨어와의 비교
Gulp와 Grunt
Gulp와 Grunt Task Runner concat, lint, minify, testing
Gulp와 Grunt Webpack = (gulp || grunt) + browserify
웹팩이란 무엇인가?
“ 웹팩은 다양해진 웹 기술을 하나로 묶어주고 여러 환경에서의 크로스
브라우징을 가능케 해주며 성능을 개선해주는 모듈 번들러(Module Bundler)이다. “
웹팩의 동작방식
1. 웹팩의 기본 개념 Entry, Output, Loader, Plugin
1-1. Entry Entry : 모듈 번들링의 시작점 Import => Dependency
Graph
1-2. Output Output : 번들링된 파일의 저장 위치 => dist
1-3. Loader Loader : 모듈에 대해 행동을 취해주는 블랙박스. ?
모듈 (JS, PNG, CSS…) => Dependency Graph => Ex) babel-loader
1-4. Plugin Plugin : 번들링된 파일에 대해 행동을 취해주는 블랙박스.
? Bundle File => dist => Ex) 코드 난독화
2. 결과물 index.html index.js 모든 모듈을 하나의 파일에 압축하여 모듈
로딩과정이 생략되었으므로, 성능상의 이점 존재.
링크 웹팩 가이드 - http://jinui.kr/221333865963 PPT - https://www.slideshare.net/JinuiYou/ss-108973799