Team/난감했던 이슈들

[ ANGULAR ] polyfills 수정 후에도 IE 안되는 경우

HEON.D 2022. 2. 28. 21:15

Angular 11 까지만 IE 11 마지막으로 지원됨

12 부터는 지원안됨

 

.browserslistrc 수정

not prefix 제거

# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support

# You can see what browsers were selected by your queries by running:
#   npx browserslist

last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.