Skip to content

프론트 컨벤션

Kwon soon won edited this page Nov 18, 2020 · 1 revision

webpack

devtool: source-map

  • 컴파일할때 map 파일을 하나 더 만들어서 에러가 터졌을때 위치 잘 찾아줌.

entry : 시작점

extensions: 확인할 확장자

output: 빌드 끝난곳이 뿌려질곳

rules test: 매치할 확장자 use: 오른쪽부터 왼쪽으로 읽음.

splitChunks : 번들 파일을 나눠서, 하나 파일의 크기를 줄임

htmlwebpackPlugin

  • differ
  • async

cleanwebpackplugin

tsconfig

여기서 typescript 문법 검사

Clone this wiki locally