From 306fbd70ddd56db6bd2bef76f7d6fa26edd63ffa Mon Sep 17 00:00:00 2001 From: Joep Meindertsma Date: Mon, 27 May 2019 10:13:33 +0200 Subject: [PATCH] Polyfill IE11 #40 --- front/package.json | 1 + front/src/index.tsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/front/package.json b/front/package.json index ff96b40..8551eeb 100644 --- a/front/package.json +++ b/front/package.json @@ -30,6 +30,7 @@ "re-resizable": "^4.11.0", "react": "16.8.6", "react-addons-css-transition-group": "^15.6.2", + "react-app-polyfill": "^1.0.1", "react-dom": "16.8.6", "react-hotkeys": "^2.0.0-pre5", "react-intl": "^2.8.0", diff --git a/front/src/index.tsx b/front/src/index.tsx index 781cb80..5016b65 100755 --- a/front/src/index.tsx +++ b/front/src/index.tsx @@ -1,3 +1,5 @@ +// This must be the first line in src/index.js +import "react-app-polyfill/ie11"; import React from "react"; import ReactDOM from "react-dom"; import "./index.css";