diff --git a/.webpackrc.js b/.webpackrc.js index e0bedf69eaaac4a9b72fca57d2ef18b7cedc3b90..8515c0b4f897eed17b639761ed208e2c1ec6f7d8 100755 --- a/.webpackrc.js +++ b/.webpackrc.js @@ -21,6 +21,9 @@ export default { html: { template: './src/index.ejs', }, + lessLoaderOptions: { + javascriptEnabled: true, + }, disableDynamicImport: true, publicPath: '/', hash: true, diff --git a/package.json b/package.json index 4c810773460e242e8077bb8f81947dba734283b0..45993882e1429ba70b6fb3e570a23811bdcdcc9c 100755 --- a/package.json +++ b/package.json @@ -26,15 +26,14 @@ "antd": "^3.4.3", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-runtime": "^6.9.2", - "bizcharts": "^3.1.5", + "bizcharts": "^3.1.10", "bizcharts-plugin-slider": "^2.0.1", "classnames": "^2.2.5", "dva": "^2.2.3", "dva-loading": "^2.0.3", "enquire-js": "^0.2.1", - "less": "2.7.2", "lodash": "^4.17.10", - "lodash-decorators": "^5.0.0", + "lodash-decorators": "^6.0.0", "moment": "^2.19.1", "numeral": "^2.0.6", "omit.js": "^1.0.0", @@ -42,10 +41,10 @@ "prop-types": "^15.5.10", "qs": "^6.5.0", "rc-drawer": "^1.2.0", - "react": "^16.2.0", + "react": "^16.4.1", "react-container-query": "^0.11.0", "react-document-title": "^2.0.3", - "react-dom": "^16.2.0", + "react-dom": "^16.4.1", "react-fittext": "^1.0.0", "rollbar": "^2.3.4", "url-polyfill": "^1.0.10" @@ -59,7 +58,7 @@ "cross-port-killer": "^1.0.1", "enzyme": "^3.1.0", "eslint": "^4.14.0", - "eslint-config-airbnb": "^16.0.0", + "eslint-config-airbnb": "^17.0.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-babel": "^5.1.0", "eslint-plugin-compat": "^2.1.0", @@ -75,7 +74,7 @@ "pro-download": "^1.0.1", "redbox-react": "^1.5.0", "regenerator-runtime": "^0.11.1", - "roadhog": "^2.4.1", + "roadhog": "^1.4.1", "roadhog-api-doc": "^1.0.3", "stylelint": "^9.2.1", "stylelint-config-prettier": "^3.0.4",