Skip to content

프론트엔드 개발환경의 이해와 실습 스터디

License

Notifications You must be signed in to change notification settings

CaesiumY/frontend-env-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

프론트엔드 개발환경의 이해와 실습

강의 썸네일

강의 링크

목차

  1. 매 챕터 튜토리얼
  2. webpack
    1. entry
    2. loader
    3. plugin
  3. babel
    1. babel
    2. scss
  4. lint
    1. eslint
    2. prettier
  5. webpack-advanced
    1. dev-server
    2. HMR(Hot Module Reloading)
    3. optimaization
  6. webpack 5.0

5 - webpack 5.0

기존 강의는 4.0기반이므로, 5.0 트렌드에 맞춰 개인적으로 공부 및 실습

웹팩 쓰다가 막히면 간단하게 이곳을 찾아보기!

5.0 공부 참고자료

겪은 문제들

WSL2에서의 webpack-dev-server 오류

  1. webpack-dev-server@3WSL 환경에서 작동할 경우, 파일의 변화를 눈치채지 못함...

  2. webpack -w 로 변화를 감지하는지 테스트 -> 변화 감지 못 함

  3. webpack.config.js에 옵션 추가로 해결

  • // webpack.config.js
    module.exports = {
      ...
      watchOptions: {
        poll: true,
      },
      ...
    };