일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 거래사기
- 중고나라
- 채팅환전사기
- MongoDB #NoSQL #CreateUser #DropUser #mongod #mognod.conf
- XSS
- CryptoJS
- 허리디스크
- CJ대한통운 #쿠팡 #통관번호오류 #통관고유번호오류 #안주원팀장 #모건인베스트
- self-signed
- Sequoia
- ssrf
- open redirect
- 변태는
- esbuild
- intelmac
- NUGU
- Frida
- ue4dumper
- 모의해킹
- 안전결제
- 취약점
- 많다..
- 네이버카페
- react
- Malware Sample
- 보이스피싱 #대검찰청 #명의도용 #비밀번호 #계좌번호 #공공기관 #가짜검찰청
- speed-measure-webpack-plugin
- 척추관협착증
- 로맨스스캠
- shell_gpt
Archives
- Today
- Total
annyoung
React webpack build speed test (speed-measure-webpack-plugin) 본문
https://github.com/stephencookdev/speed-measure-webpack-plugin
GitHub - stephencookdev/speed-measure-webpack-plugin: ⏱ See how fast (or not) your plugins and loaders are, so you can optimis
⏱ See how fast (or not) your plugins and loaders are, so you can optimise your builds - GitHub - stephencookdev/speed-measure-webpack-plugin: ⏱ See how fast (or not) your plugins and loaders are, s...
github.com
웹팩 잼병이라 그런지 어렵더라.. speed-measure-webpack-plugin 적용을 위해 열심히 삽질하는데 도통 알수가 없었다.
우선, CRA를 통해서 리액트 프로젝트를 만들었지만 ckeditor4에 의해서 eject하여 webpack 빌드해서 사용중이다.
config/webpack.config.js의 대략 136 라인에서 return { }하는걸 볼 수 있는데, 이 부분에서 smp.wrap을 통해 묶어주면 된다.
그럼 위처럼 webpack plugin에 따라 속도가 얼마나 되는지 테스트가 가능하다.
Comments