ã¯ããã«ã¿ã¤ãã«ã¯è¥å¹²ç ½ãã§ãããTS 5.0 ã§Bundlerã¨ããè¨å®å¤ã追å ããããããNodeã使ãå ´é¢ã¯ã»ã¼ç¡ããªã£ãã¨æãã¾ãã ä»å㯠Node.js 㨠TypeScript ã®ã¢ã¸ã¥ã¼ã«è§£æ±ºã®ä»çµã¿ã«ã¤ãã¦ãmoduleResolutionã¨ãããªãã·ã§ã³ã®è¦³ç¹ãã解説ãã¾ãã ãã®è¨äºãæ¸ãã«ããã£ã¦å®éã«åä½ç¢ºèªã¯è¡ã£ã¦ãã¾ããããããééã£ã¦ããã¨ãããããã°ãææããã ããã¨å¹¸ãã§ãã ãªãã Node.js LTS v18ãTypeScript v5.0 æç¹ã§ã®æ å ±ã§ãã ä»å¾ã®ãã¼ã¸ã§ã³ã¢ããã«ã¦å¤æ´ãããå¯è½æ§ãããã¾ãã TL;DR"moduleResolution": "Node"ã¯ä½¿ããªãã»ãããã ããããæ±ãã¦ãããã®ã¯Bundler tsc ããã«ããã¼ã«ã¨ãã¦ä½¿ç¨ãã¦ããå ´åã¯Node16 / NodeNextããã¹ã Nodeã使ãå ´åã§ã
{{#tags}}- {{label}}
{{/tags}}