فهرست منبع

add fetch ie8

John 8 سال پیش
والد
کامیت
5270c8cfec
2فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 4 1
      package.json
  2. 3 0
      tools/webpack.config.js

+ 4 - 1
package.json

@@ -28,6 +28,7 @@
     "css-loader": "^0.23.1",
     "del": "^2.2.0",
     "es5-shim": "^4.5.8",
+    "es6-promise": "^3.2.1",
     "eslint": "^2.10.2",
     "eslint-config-airbnb": "^9.0.1",
     "eslint-plugin-import": "^1.8.0",
@@ -36,6 +37,9 @@
     "extend": "^3.0.0",
     "fastclick": "^1.0.6",
     "fbjs": "^0.8.2",
+    "fetch-detector": "^1.0.0",
+    "fetch-ie8": "^1.4.3",
+    "fetch-jsonp": "^1.0.0",
     "file-loader": "^0.8.5",
     "history": "^2.1.1",
     "json-loader": "^0.5.4",
@@ -64,7 +68,6 @@
     "redbox-react": "^1.2.6",
     "redux": "^3.5.2",
     "redux-thunk": "^2.1.0",
-    "sass-loader": "^3.1.2",
     "style-loader": "^0.13.1",
     "stylelint": "^6.4.1",
     "stylelint-config-standard": "^7.0.0",

+ 3 - 0
tools/webpack.config.js

@@ -39,6 +39,9 @@ const config = {
     'es5-shim',
     'es5-shim/es5-sham',
     'babel-polyfill',
+    'es6-promise',
+    'fetch-detector',
+    'fetch-ie8',
     './main.js'
   ],