ããããã° Babel ãã¡ããã¨åå¼·ãããã¨ãªãã£ããªã¨æã£ã¦ã¡ããã¨åå¼·ãã¦ã¿ãã£ã¦è¨ã話ã§ãã ã¤ã¾ã Babel ãããªã§ä½¿ã£ã¦ããã¨ã«ãªãã®ã§ãããèªåãããã°ã©ãã³ã°ãå§ããã¨ã㯠@babel/preset-env ããã§ã«åå¨ãã¦ãããããã使ã£ã¦ããã ãã§å ¨ã¦ãåãã¦ããã®ã§åå¼·ããå¿ è¦ããªãã£ãã¨ããäºæ ãããã¾ãã ãã ãæµç³ã«ç¥ããªãã¨è¨ã£ã¦ãããããµã¼ãã£ã³ãã¦ããã¨ãªãããã®æ å ±ã®ã¤ã³ãããã¯ãããã®ã§ã Babel 㯠ES6 -> ES5 ã«å¤æããï¼ããã¯ééã£ãçè§£ï¼ Babel 㯠AST æä½ã«ãã£ã¦å¤æãã Babel 㯠parse -> traverse -> generate ãã¦å¤æãã ã¿ãããªé çªã§å°ããã¤è§£å度ãä¸ããªããç解ã¯ãã¦ãã¾ããã æå¾ã®ããBabel ã parse -> traverse -> generate ãã¦å¤
{{#tags}}- {{label}}
{{/tags}}