8000 feat: do not polyfill · gajus/youtube-player@514a1da · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 514a1da

Browse files
committed
feat: do not polyfill
1 parent 3622089 commit 514a1da

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"browsers": [
1313
"last 2 versions"
1414
]
15-
}
15+
},
16+
"useBuiltIns": true
1617
}
1718
]
1819
]

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[![Twitter Follow](https://img.shields.io/twitter/follow/kuizinas.svg?style=social&label=Follow)](https://twitter.com/kuizinas)
77

88
* [Usage](#usage)
9-
* [Events](#events)
9+
* [Events](#events)
10+
* [Polyfills](#polyfills)
1011
* [Examples](#examples)
1112
* [Debugging](#debugging)
1213
* [Download](#download)
@@ -104,6 +105,12 @@ player.off(listener);
104105

105106
```
106107

108+
## Polyfills
109+
110+
Note that the built version does not inline polyfills.
111+
112+
You need to polyfill the environment locally (e.g. using a service such as https://polyfill.io/v2/docs/).
113+
107114
## Examples
108115

109116
* [Playing a video](./examples/src/playing-video/index.html).

0 commit comments

Comments
 (0)
0