私はionicフレームワークを初めて使用します。
ionic アプリケーションの起動中に次の警告が表示されます。修正方法を提案してください。
[ng] One or more browsers which are configured in the project's Browserslist configuration will be ignored as ES5 output is not supported by the Angular CLI.
[ng] Ignored browsers: chrome 60
[ng] - Generating browser application bundles (phase: setup)...
[ng] TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browerslist configuration. For more information, see https://angular.io/guide/build#configuring-browser-compatibility
前もって感謝します。
私の.browserslistrc
エントリは以下のとおりです:
Chrome >=60
Firefox >=63
Edge >=79
Safari >=13
iOS >=13
ベストアンサー1
私のAngular 15プロジェクトでは、推奨設定:
last 2 Chrome versions
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR