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
Webpack the module bundler
Search
Jinny You
August 08, 2018
Programming
0
70
Webpack the module bundler
사내 스터디 시간에 발표한 웹팩 관련 자료입니다.
Jinny You
August 08, 2018
Tweet
Share
More Decks by Jinny You
See All by Jinny You
디자이너와 개발자가 자주 겪는 Lottie 핸드오프 FAQ - Figma Config Watch Party Seoul
tinyjin
0
63
인디 앱 개발자와 Flutter
tinyjin
0
360
모던 웹 기술로 C++ 렌더링 엔진 테스트 자동화하기
tinyjin
0
33
그래픽 엔진 포팅 사례로 배우는 웹어셈블리 웹 컴포넌트 개발부터 디버깅, 최적화까지
tinyjin
0
300
韩国的打卡地:你喜欢海边吗?
tinyjin
0
32
LottieFiles로 시작하는 빠르고 효율적인 애니메이션 핸드오프
tinyjin
0
80
エンジニアが見つめるLottieアニメーション
tinyjin
0
100
ThorVG's Lottie Model in Action
tinyjin
0
210
국민대학교 사제동행 세미나
tinyjin
0
360
Other Decks in Programming
See All in Programming
ts-morph実践:型を利用するcodemodのテクニック
ypresto
1
500
ワイがおすすめする新潟の食 / 20250530phpconf-niigata-eve
kasacchiful
0
150
TSConfig Solution Style & subpath imports to switch types on a per-file basis
maminami373
1
160
Practical Domain-Driven Design - Workshop at NDC 2025
mufrid
0
120
「MCPを使ってる人」が より詳しくなるための解説
yamaguchidesu
0
310
OpenTelemetry + LLM = OpenLLMetry!?
yunosukey
2
270
try-catchを使わないエラーハンドリング!? PHPでResult型の考え方を取り入れてみよう
kajitack
3
160
tsconfigのオプションで変わる型世界
keisukeikeda
1
120
バリデーションライブラリ徹底比較
nayuta999999
1
220
SpringBootにおけるオブザーバビリティのなにか
irof
1
860
primeNumberでのRBS導入の現在 && RBS::Traceでinline RBSを拡充してみた
mnmandahalf
0
220
型安全なDrag and Dropの設計を考える
yudppp
5
630
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Why Our Code Smells
bkeepers
PRO
336
57k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
830
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
15
880
Balancing Empowerment & Direction
lara
1
75
Writing Fast Ruby
sferik
628
61k
A Tale of Four Properties
chriscoyier
159
23k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
Into the Great Unknown - MozCon
thekraken
38
1.8k
Typedesign – Prime Four
hannesfritz
41
2.6k
The Cost Of JavaScript in 2023
addyosmani
49
7.9k
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