å æ¥ Babel ã®ã¡ã³ããã¼ã¨ãã¦ç¥ããã Nicolò Ribaudo æ°ã次ã®ãã¤ã¼ããæ稿ããã We finally finished migrating the Babel monorepo from Flow to TypeScript! It has been a very long process started by @z_bodya, and after migrating package-by-package @JLHwung just opened this PR ð pic.twitter.com/WKXxV8x2MY â Nicolò Ribaudo ð³ï¸âð ⢠ðð (@NicoloRibaudo) July 23, 2022 ãããJavaScript ã®ãã©ã³ã¹ã³ã³ãã¤ã©ã§ãã Babel ã®ã½ã¼ã¹ã³ã¼ãã Flow ãã TypeScrip
ã¯ããã«SWC ã¯Rust製ã®é«éãªJavaScriptãã©ã³ã¹ãã¤ã©ã§ãã (minifierãbundlerãªã©ä»ã®æ©è½ã®å®è£ ãé²ãããã¦ãã¾ãããç¾æç¹ã§ã¯ãã©ã³ã¹ãã¤ã©ã¨ãã¦ã®å½¹å²ã主ã§ã) ãã®åéã§ã¯ãã¨ãã¨JavaScript製ã®Babelã¨ãããã¼ã«ãåºã使ããã¦ãã¾ãããã®Babelã«ã¯å¼·åãªãã©ã°ã¤ã³ã·ã¹ãã ããããããã«ããBabelã¯åãªããã¦ã³ã¬ãã«ã³ã³ãã¤ã© (æ°ããæ§æãå¤ãæ§æã«ç½®ãæãã) ã¨ãã¦ã®å½¹å²ã ãã§ã¯ãªããã¡ã¿ããã°ã©ãã³ã°ã®ãã¼ã«ã¨ãã¦åºãæ®åãã¦ãã¾ãã ãã£ã½ããSWCã®ãã©ã°ã¤ã³ã·ã¹ãã ã¯2022å¹´2æããã«å®è£ ãé²ã¿ãç¾å¨ã§ã¯Next.jsãå«ãåºãå©ç¨å¯è½ãªç¶æ ã«ãªã£ã¦ãã¾ããSWCã¯Rustã§æ¸ããã¦ãããã¨ãé度ãé常ã«éè¦ãã¦ãããã¨ãããBabelã¨ã®å·®ç°ãå¤ãåå¨ãã¦ãã¾ãã æ¬ç¨¿ã§ã¯SWCã¨Babelèªä½ã®ä»çµã¿ã®éãã«æ³¨
babel-plugin-node-cjs-interop ã¨ããããã±ã¼ã¸ãä½ã£ãã®ã§ãã®ç´¹ä»ã§ãã (GitHub) ä½ãåé¡ã Node.jsã®ãã¤ãã£ãES Modulesãµãã¼ãã¨BabelãTypeScriptã®ES Modulesãµãã¼ããä½µç¨ããã¨ãã«åé¡ãèµ·ãã¾ãã ESMã¨CJS JavaScriptã«ã¯æ¨æºã®ã¢ã¸ã¥ã¼ã«ã·ã¹ãã (ES Modules, ESM) ãããã¾ãããESMã®çå®åã«å ã ã£ã¦ããã¤ãã®ã³ãã¥ããã£ã¼å®ç¾©ã®ã¢ã¸ã¥ã¼ã«ã·ã¹ãã ãåå¨ãã¦ãã¾ããããã®ãã¡Node.jsãä¸å¿ã¨ãã¦ä½¿ããã¦ããã®ãCommonJS Modules (CJS) ã§ãããã®Node.jsçéã§ãESMã¸ã®ç§»è¡ãé²ãã§ãã¾ãã 移è¡ã«ããã£ã¦åé¡ã«ãªããã¨ã®ã²ã¨ã¤ããESMã¨CJSã®ã¨ã¯ã¹ãã¼ãã¢ãã«ã®éãã§ãã ESMã§ã¯ãã¢ã¸ã¥ã¼ã«ã¯0å以ä¸ã®ååã¤ãã¨ã¯ã¹ãã¼ããå®
Jake Donham > Technical Difficulties > Reconstructing TypeScript, part 0 Reconstructing TypeScript, part 0: intro and background2021-09-07I've been building a "document development environment" called Programmable Matter that supports live code embedded in documents, with a simple TypeScript-like programming language. It's been fun figuring out how to implement itâthe type system in TypeScript is
ãã©ã³ã¹ãã¤ã©ãBabelãã®éçºãã¼ã ããä½ç¾ä¸äººã«ã使ããã¦ããã®ã«ããªãç§ãã¡ã®è³éã¯å°½ãããã¨ãã¦ããã®ãï¼ããè³éé£ã«ããå¯ä»ã訴ã ãBabelãã¯ãJavaScriptã³ã³ãã¤ã©ãããã¯ãã©ã³ã¹ãã¤ã©ã®ä»£è¡¨çãªãã¼ã«ã¨ãã¦ç¥ããã¦ãããFacebookãSpotifyãSlackãMongoDBãªã©ãã¾ãã¾ãªä¼æ¥ãéçºç¾å ´ã§ä½¿ããã¦ãã¾ãã ãã®Babelã®éçºãã¼ã ãè³éé£ã«ãªã£ã¦ãããã¨ããéçºã®ä¸å¿ã¨ãªã£ã¦ããã³ã¢ãã¼ã ãããã°ãBabel is used by millions, so why are we running out of money?ãï¼Babelã¯ä½ç¾ä¸äººã«ã使ããã¦ããã®ã«ããªãç§ãã¡ã®è³éã¯å°½ãããã¨ãã¦ããã®ãï¼ãã§æããã«ãã¦ãã¾ãã Babelã¨ã¯ãECMAScript 15以éã®ããããã¢ãã³ãªJavaScriptã®æ§æãæ©è½ãæ´»ç¨ãã¦æ¸
Since 2018, Babel has been doing a funding experiment: can full time work on Babel be sustained? We've learned the answer might be no. In November 2019, after successfully paying Henry a salary for over a year, we expanded our goal to also support three additional maintainers: Jùnlià ng, Kai, and Nicolò. Part of the Babel team (Nicolò, Jùnlià ng and Henry) is still being paid a salary to work on Bab
ãããã㪠JavaScript ç³»ã©ã¤ãã©ãªã®è¨å®ãã¡ã¤ã«ã§åã®è£å®ãå¹ãããã«ããããã® JSDoc ã¢ããã¼ã·ã§ã³ã¾ã¨ãã§ããVSCode ã§ç¢ºèªãã¦ãã¾ãã ãªã³ã¯ã®ã¤ãã¦ããªããã®ã¯èªåã§åå®ç¾©ãæ¢ãããã®ãªã®ã§ééã£ã¦ããå ´åã¯ã³ã¡ã³ãããã ããã¨å©ããã¾ãã ä»ã®ã©ã¤ãã©ãªã®æ å ±ãã³ã¡ã³ã大æè¿ã§ãï¼
ESM-CJS interop test Test Cases Results Node.js Babel Webpack Rollup.js Parcel esbuild Results by test case Results by syntax import x and similar import { named } and similar import { __esModule } and similar import * and similar import() and similar require().default and similar require().named and similar require().__esModule and similar require() and similar Direct differences Webpack <-> Node
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}