We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac271c7 commit 000f01cCopy full SHA for 000f01c
src/common/load-dynamic-polyfills.js
@@ -18,8 +18,12 @@ function detectIE() {
18
return false;
19
}
20
21
+function detectOpera() {
22
+ return navigator.userAgent.indexOf('Opera');
23
+}
24
+
25
export default function requirePolyfills() {
- if (detectIE()) {
26
+ if (detectIE() || detectOpera()) {
27
return import('babel-polyfill');
28
29
0 commit comments