일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
29 | 30 |
Tags
- 고급안내서
- background tab
- getUTCDate
- react-helmet
- Render Props
- Javascript
- react hook
- CSS
- Programmers
- background: url
- hook
- React API 참고서
- codingtest
- next13 head
- context
- RTK Query
- React 18 Nextjs
- React 고급안내서
- Nextjs React 18
- Next13
- Nextjs
- notFound()
- react
- React 고급 안내서
- React 18
- React 공식문서
- Babel
- background setInterval
- background setttimeout
- React18
Archives
- Today
- Total
목록@babel/plugin-transform-runtime (1)
akjfal
@babel/plugin-transform-runtime 공식 문서
바벨에 추가된 코드를 재사용해서 코드 크기를 줄일 수 있는 플러그인이다. Installation 개발용을 설치해주자. npm install --save-dev @babel/plugin-transform-runtime pr용이 필요하다면 이것도 설치해주자. npm install --save @babel/runtime Why? Babel에서 사용되는 중복코드들이 @babel/plugin-transform-runtime 플러그인이 @babel/runtime 모듈을 참조해서 중복되지 않도록 처리해준다. Usage With a configuration file(추천) - 옵션은 기본 값이다. { "plugins": [ [ "@babel/plugin-transform-runtime", { "absoluteRunti..
Babel
2022. 4. 17. 23:06