Skip to content

mpruser/create-react-app

Repository files navigation

React + Typescript + Webpack Boilerplate

React + Typescript + Webpack 기반의 개발환경을 미리 세팅해둔 프로젝트입니다.

패키지 설치

$ yarn install --frozen-lockfile

DevServer 구동

$ yarn dev

번들링

$ yarn build

npm을 사용해야하는 경우

yarn이 아닌 npm을 사용해야 하는 경우 synp을 이용하여 yarn.lockpackage-lock.json으로 변환합니다.

$ npx synp --source-file yarn.lock

기존에 있던 yarn.look 삭제

$ rm -rf yarn.look

package-lock.json을 기준으로 node_modules 생성

$ npm ci

Documents

webpack plugins

webpack loaders