npm run build시 발생하는 경고, compile이 최신이 아니라고 경고하는 의미인거 같았다.
> react-scripts build
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
[BABEL] Note: The code generator has deoptimised the styling of D:\brpark\dev\monster-front\src\assets\Auth\bg_gradient_main_right.svg as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of undefined as it exceeds the max of 500KB.
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Compiled with warnings.
1. npx browserlist@latest --update-db 명령어 수행
2. 1번 수행 후, 경우에 따라 npm install caniuse-lite 도 추가로 설치하라고 나온다.
(나의 경우, dependency 버전이 안맞아서 수동으로 설치하라고 나온것 같다. --force 명령어로 해당 패키지 설치)