-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserfeatureIssue that requests a new featureIssue that requests a new feature
Milestone
Description
🚀 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
mstawick, FreekMencke, dparadis, BitTerminator, FDIM and 2 more
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserfeatureIssue that requests a new featureIssue that requests a new feature