Closed
Description
Which @angular/* package(s) are the source of the bug?
compiler-cli, compiler
Is this a regression?
Yes
Description
Despite of including old Firefox browser versions (60-78) to browserslist application bundle throws an error in browser console
"SyntaxError: expected expression, got '?'[Learn More] vendor.js"
Note! This bug is only reproduced with optimization.scripts: true in configuration
It seems optimization procedures add to bundle Logical nullish assignment operator "?? "which Firefox 60-78 don't support
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
SyntaxError: expected expression, got '?'[Learn More] vendor.js
Please provide the environment you discovered this bug in (run ng version
)
Angular CLI: 15.0.1
Node: 14.20.1
Package Manager: npm 6.14.17
OS: linux x64
Angular: 15.0.1
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1500.1
@angular-devkit/build-angular 15.0.1
@angular-devkit/core 15.0.1
@angular-devkit/schematics 15.0.1
@angular/cdk 15.0.0
@angular/material 15.0.0
@schematics/angular 15.0.1
rxjs 7.5.7
typescript 4.8.4
Anything else?
.browserslistrc
Firefox > 59
Metadata
Metadata
Assignees
Labels
No labels