diff --git a/package.json b/package.json index 30151cebad263cd8703bec568fe703724db1dc82..2b6420363a7911ef01d84c8d713a535961a0c554 100755 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "react-container-query": "^0.9.1", "react-document-title": "^2.0.3", "react-dom": "^16.2.0", - "react-fittext": "^1.0.0" + "react-fittext": "^1.0.0", + "url-polyfill": "^1.0.10" }, "devDependencies": { "babel-eslint": "^8.1.2", diff --git a/src/index.js b/src/index.js index c3ba259d1b20698bb501a89406a81c082d74222d..ef86ed2a1d732c4feafe38fa9d8f9bd0b28b7692 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,5 @@ import '@babel/polyfill'; +import 'url-polyfill'; import dva from 'dva'; import createHistory from 'history/createHashHistory';