From 30d75c124bbd3988aa5dabb5485679783bc07a41 Mon Sep 17 00:00:00 2001 From: John Furrow Date: Mon, 6 Jun 2016 20:59:02 -0700 Subject: [PATCH] Include Babel polyfill --- gulpfile.js | 5 ++++- package.json | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 568f23b5..bc62f3d7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -41,7 +41,10 @@ if (development) { var webpackConfig = { devtool: webpackDevtool, - entry: './' + dirs.src + '/' + dirs.js + '/' + files.mainJs + '.js', + entry: [ + 'babel-polyfill', + './' + dirs.src + '/' + dirs.js + '/' + files.mainJs + '.js' + ], output: { filename: './' + dirs.dist + '/' + dirs.jsDist + '/' + files.mainJsDist + '.js' }, diff --git a/package.json b/package.json index 18f37077..5a130215 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ }, "dependencies": { "axios": "^0.7.0", + "babel-polyfill": "^6.9.1", "body-parser": "~1.12.0", "classnames": "^2.1.5", "compression": "^1.6.1",