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",