mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
ie11 fix
This commit is contained in:
@@ -3,6 +3,11 @@ import 'core-js/es6';
|
|||||||
import 'core-js/es7/reflect';
|
import 'core-js/es7/reflect';
|
||||||
require('zone.js/dist/zone');
|
require('zone.js/dist/zone');
|
||||||
|
|
||||||
|
// IE11 fix, ref: https://github.com/angular/angular/issues/24769
|
||||||
|
if (!Element.prototype.matches && (Element.prototype as any).msMatchesSelector) {
|
||||||
|
Element.prototype.matches = (Element.prototype as any).msMatchesSelector;
|
||||||
|
}
|
||||||
|
|
||||||
if (process.env.ENV === 'production') {
|
if (process.env.ENV === 'production') {
|
||||||
// Production
|
// Production
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user