diff options
author | Kuiying Wang <kuiying.wang@intel.com> | 2019-03-19 10:25:36 +0800 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2019-03-26 17:38:24 +0000 |
commit | 20f7715ac50ec4bee9fc7032f53654518f5b8569 (patch) | |
tree | 0211db8a2798bcff8923f855fc4d73ff63691e11 | |
parent | d0dbe3b3fbe0d4d43d16d17bcfcf0d8aff196bbb (diff) | |
download | phosphor-webui-20f7715ac50ec4bee9fc7032f53654518f5b8569.tar.gz phosphor-webui-20f7715ac50ec4bee9fc7032f53654518f5b8569.zip |
Fix always loading issue on IE11
In some pages like server view page, always in loading status.
Import babel-polyfill to solve cross browser issue on HTML5/CSS3,
especially for the older browsers.
Tested:
launch IE11 visit https://BMC_IP_ADDR
Change-Id: Ib8e59e236171fff595ac1e5df3a9111005b39268
Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
-rw-r--r-- | package-lock.json | 19 | ||||
-rw-r--r-- | package.json | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/package-lock.json b/package-lock.json index 2d9d31b..61e9787 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1500,6 +1500,25 @@ "babel-runtime": "6.26.0" } }, + "babel-polyfill": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", + "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "regenerator-runtime": "^0.10.5" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", + "dev": true + } + } + }, "babel-register": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", diff --git a/package.json b/package.json index 35c6b78..1bdf934 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "autoprefixer": "9.1.5", "babel-core": "6.26.3", "babel-loader": "8.0.2", + "babel-polyfill": "^6.26.0", "compression-webpack-plugin": "2.0.0", "copy-webpack-plugin": "4.5.2", "csp-html-webpack-plugin": "^2.5.0", |