[250919] TIL
Today I Learned (2025-09-19)
์น ํต์ ๋ฐฉ์
- HTTP/ HTTPS
- WebSocket
- Server-Sent Events (SSE)
- WebRTC
canary
- ์ ์ ๋ฐฐํฌ ์ ์ ๋ฏธ๋ฆฌ ์จ๋ณผ ์ ์๋ ์คํ์ /๋ฏธ๋ฆฌ๋ณด๊ธฐ ๋ฒ์ ์ ๋ปํจ
tsconfig
- https://www.typescriptlang.org/tsconfig/
-
https://codingapple.com/unit/typescript-tsconfig-json/
- ts ํ์ผ๋ค์ js๋ก ๋ณํํ ๋ ์ด๋ป๊ฒ ๋ณํํ ๊ฒ์ธ์ง ์ธ๋ถ ์ค์ ์ด ๊ฐ๋ฅ
- TS Language Service ์ด ์๋ํฐ์์ ํ์
์ฒดํฌ๋ฅผ ํด์ค
- ์๋ํฐ์์ noEmit false ๋์ด์์ด๋ ํ์ผ ์๋ง๋ค์ด์ค
์์ธ
- target : ์ด๋ค JS ๋ฒ์ ์ผ๋ก ํธ๋์ค ํ์ผํ ์ง
-
module: ๋ชจ๋ ์์คํ , esnext commonjs - extends : ๋ค๋ฅธ tsconfig ์์ํ๋ ์ค์ , ํ์ฌ ts๋ ์ถ๊ฐ/๋ฎ์ด์ฐ๊ธฐ๋งํจ
- compilerOptions
- incremental: false ์บ์ ํ์ผ ์์ฑ ์ํจ
- isolatedModules: true ๊ฐ ํ์ผ ๋ ๋ฆฝ์ ์ผ๋ก ์ปดํ์ผ ๊ฐ๋ฅํด์ผํ๋ค๋ ์๋ฏธ
- noEmit: true : ํ์ ์ฒดํฌ๋งํ๊ณ JS ์ถ๋ ฅ์ Babel ๊ฐ์ ํด์๊ฒ ๋งก๊ธฐ๊ฒ ๋ค๋ ๋ป
- baseUrl: โ.โ ์๋ ๊ฒฝ๋ก import ๊ธฐ์ค์ด ๋๋ ๋๋ ํ ๋ฆฌ
- paths ๊ฒฝ๋ก alias (๋ณ์นญ) ์ค์
- @/components/Button โ ./src/components/Button ์ผ๋ก ๋งคํ๋จ.
"@/*": ["./src/*"]
- include : ์ปดํ์ผ ๋๋ฆด ๊ฒฝ๋ก
Leave a comment