Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 2feef35

Browse files
committed
add polyfills
1 parent 4158dcb commit 2feef35

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

draftjs-html-source/index.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

draftjs-web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"immutable": "^4.0.0-rc.12",
1010
"prop-types": "^15.7.2",
1111
"react": "^16.8.6",
12+
"react-app-polyfill": "^1.0.1",
1213
"react-dom": "^16.8.6",
1314
"react-scripts": "3.0.1"
1415
},

draftjs-web/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import "react-app-polyfill/stable";
12
import React from "react";
23
import ReactDOM from "react-dom";
34
import App from "./App";

0 commit comments

Comments
 (0)