🚀 Feature request
Command (mark with an x)
- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Description
Currently browserslist is used to determine whether to create an es5 build as well as es2015. However that is global for the whole project, what I'd like is a way to only build an es5 version on our production environment, our staging environment already takes ~20 minutes to build, building an es5 version is only going to make this build time longer and all of our staging users are on modern browsers
Describe the solution you'd like
To allow forcing differential loading for certain builds in angular.json via the es5BrowserSupport flag. Currently it only has an effect on the polyfills and not whether an es5 build is created.
Describe alternatives you've considered
There are no arounds AFAIK
🚀 Feature request
Command (mark with an
x)Description
Currently
browserslistis used to determine whether to create an es5 build as well as es2015. However that is global for the whole project, what I'd like is a way to only build an es5 version on our production environment, our staging environment already takes ~20 minutes to build, building an es5 version is only going to make this build time longer and all of our staging users are on modern browsersDescribe the solution you'd like
To allow forcing differential loading for certain builds in
angular.jsonvia thees5BrowserSupportflag. Currently it only has an effect on the polyfills and not whether an es5 build is created.Describe alternatives you've considered
There are no arounds AFAIK