작성한 질문수
프론트엔드 개발환경의 이해와 실습 (webpack, babel, eslint..)
바벨의 기본 개념
작성
·
199
2
@babel/core라는 것은 파싱과 출력을 담당하고 플러그인을 통해서 변환과정을 거치는거죠 ?
답변 1
1
네 그렇습니다.
"Now, out of the box Babel doesn't do anything. It basically acts like const babel = code => code; by parsing the code and then generating the same code back out again. You will need to add plugins for Babel to do anything."
const babel = code => code;
https://babeljs.io/docs/en/plugins