리액트 + 웹팩 + 타입스크립트를 이용한 프로젝트의 기본 틀입니다. 다음의 안내를 따라주세요.
-
yarn init -y
-
yarn add react react-dom
-
yarn add -D webpack webpack-bundle-analyzer webpack-cli webpack-dev-server webpack-merge
-
yarn add -D @babel/cli @babel/core @babel/preset-env @babel/preset-react @babel/preset-typescript babel-loader
-
yarn add -D core-js css-loader css-minimizer-webpack-plugin html-webpack-plugin mini-css-extract-plugin style-loader sass sass-loader terser-webpack-plugin
-
yarn add -D @types/react @types/react-dom typescript