Skip to content

Commit 72a9186

Browse files
committed
remove runtime from lib/babel
It brings polyfills and breaks tests for old Node.js
1 parent 08854a9 commit 72a9186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/babel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ try {
1616

1717
var options = {
1818
blacklist: hasGenerators ? ['regenerator'] : [],
19-
optional: hasGenerators ? ['asyncToGenerator', 'runtime'] : ['runtime'],
19+
optional: hasGenerators ? ['asyncToGenerator'] : [],
2020
plugins: [
2121
createEspowerPlugin(babel, {
2222
patterns: require('./enhance-assert').PATTERNS

0 commit comments

Comments
 (0)