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

Commit e04a822

Browse files
committed
remove polyfill
1 parent 3c7b8dd commit e04a822

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

draftjs-web/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
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",
1312
"react-dom": "^16.8.6",
1413
"react-scripts": "3.0.1"
1514
},
1615
"scripts": {
1716
"start": "react-scripts start",
18-
"build": "react-scripts build && mkdir -p ../draftjs-html-source && inliner -ni ./build/index.html > ../draftjs-html-source/index.html",
17+
"build": "react-scripts build && ./generate-js.sh",
1918
"test": "react-scripts test",
2019
"eject": "react-scripts eject"
2120
},

draftjs-web/src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import "react-app-polyfill/stable";
21
import React from "react";
32
import ReactDOM from "react-dom";
43
import App from "./App";

0 commit comments

Comments
 (0)