adobe / aem-spa-project-archetype

Maven Archetype for creating new AEM SPA projects
Apache License 2.0
61 stars 32 forks source link

Improve browser support #111

Closed samuelmeuli closed 4 years ago

samuelmeuli commented 4 years ago
Q                       A
Fixed Issues? Fixes #85
Patch: Bug Fix? No
Minor: New Feature? Yes
Major: Breaking Change? No
Tests Added + Pass? No
Documentation Provided Yes (docs folder)
Any Dependency Changes? No
License Apache License, Version 2.0

This PR streamlines the default browser targets between the Angular and React apps. Now, Browserslist's defaults option is used, which targets more browsers than our current configuration. Because Angular/React may require additional polyfills for older browsers (as described in https://github.com/adobe/aem-spa-project-archetype/issues/85#issuecomment-511822639) and I'd suggest not including these by default, I've added documentation for this.

samuelmeuli commented 4 years ago

Added polyfills for modern browser features. Tested on IE11.