From 0f7a730a58991b11fdd10dcb684c32d93dfc87b4 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Thu, 10 Mar 2016 12:16:19 -0600 Subject: [PATCH] Add fix for running in dev and test mode --- website/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/website/src/index.js b/website/src/index.js index 26434960b0..d34857267d 100644 --- a/website/src/index.js +++ b/website/src/index.js @@ -4,6 +4,7 @@ // In production, the es6 code is pre-transpiled so it doesn't need it if (process.env.NODE_ENV !== 'production') { require('babel-register'); + require('babel-polyfill'); } // Only do the minimal amount of work before forking just in case of a dyno restart