{"version":"1.0","published":"2020-03-28 15:00:00","type":"rich","title":"TypeScript \u3067 paths \u3092\u89e3\u6c7a\u3057\u3066\u30d3\u30eb\u30c9\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2020%2F03%2F29%2Ftypescript-resolve-paths\" title=\"TypeScript \u3067 paths \u3092\u89e3\u6c7a\u3057\u3066\u30d3\u30eb\u30c9\u3059\u308b - \u306a\u3064\u306d\u3053\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"yunagi_n","categories":["TypeScript"],"provider_url":"https://hatena.blog","url":"https://tech.natsuneko.blog/entry/2020/03/29/typescript-resolve-paths","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/yunagi_n/","image_url":null,"width":"100%","description":"TypeScript \u306e tsconfig.json \u306b paths \u3068\u3044\u3046\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002 \u7c21\u5358\u306b\u8a00\u3046\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u51fa\u6765\u308b\u6a5f\u80fd\u3067\u3059\u3002 // paths \u3092\u4f7f\u308f\u306a\u3044 import SomeModule from \"../../Baz\"; // paths \u3092\u4f7f\u3046 import SomeModule from \"@/components/Baz\" \u305f\u3060\u3057\u3001\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u3046\u3068\u3001tsc \u3067\u30c8\u30e9\u30f3\u30b9\u30d1\u30a4\u30eb\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3082 @/components/Baz \u306e\u307e\u307e\u51fa\u529b\u3055\u308c\u3066\u3057\u307e\u3044\u3001 \u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u914d\u5e03\u3059\u308b\u969b\u3001\u30d1\u30b9\u89e3\u6c7a\u304c\u51fa\u6765\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002 \u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u65b9\u6cd5\u3002 \u3084\u308a\u65b9\u306f\u7c21\u5358\u3067\u2026","blog_url":"https://tech.natsuneko.blog/","height":"190","blog_title":"\u306a\u3064\u306d\u3053\u30e1\u30e2"}