diff --git a/package.json b/package.json index 64de522cc9..97abcd68d5 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "babel-plugin-transform-es2015-template-literals": "^6.8.0", "babel-plugin-transform-es2015-unicode-regex": "^6.11.0", "babel-plugin-transform-regenerator": "^6.16.1", + "babel-polyfill": "^6.22.0", "babelify": "^7.3.0", "brace": "^0.8.0", "browserify": "^13.0.0", diff --git a/src/index.js b/src/index.js index 7110e13aa4..6dbd6f8918 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,6 @@ 'use strict' +require('babel-polyfill') var app = require('./app.js') var $ = require('jquery')