From f2459dff1966fa46018c70fde037da8e656e5623 Mon Sep 17 00:00:00 2001 From: Don Date: Tue, 21 Nov 2017 13:10:42 -0500 Subject: [PATCH] add babel pollyfill --- index.js | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/index.js b/index.js index 54fb85a..67c752a 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,4 @@ #!/usr/bin/env node require('babel-register')(); +require("babel-polyfill"); require('./src/riko.js'); \ No newline at end of file diff --git a/package.json b/package.json index d3868ec..21b3ea3 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "babel-plugin-istanbul": "^4.0.0", "babel-plugin-syntax-dynamic-import": "^6.18.0", "babel-plugin-transform-runtime": "^6.12.0", + "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.6.1", "babel-preset-es2015": "^6.24.1", "babel-register": "^6.26.0",