Browse Source

update antd-tools & bisheng version

pull/13564/head
zombiej 6 years ago
parent
commit
e2ec0c2b48
  1. 13
      package.json
  2. 3
      site/bisheng.config.js
  3. 3
      webpack.config.js

13
package.json

@ -94,18 +94,18 @@
"devDependencies": {
"@types/classnames": "^2.2.6",
"@types/prop-types": "^15.5.6",
"@types/react": "~16.7.11",
"@types/react-dom": "^16.0.8",
"@types/react-intl": "^2.3.11",
"@types/react": "~16.7.13",
"@types/react-dom": "^16.0.11",
"@types/react-intl": "^2.3.14",
"@types/react-slick": "^0.23.2",
"@yesmeck/offline-plugin": "^5.0.5",
"ansi-styles": "^3.2.1",
"ant-design-palettes": "^1.1.3",
"antd-theme-generator": "^1.1.4",
"antd-tools": "^5.2.2",
"antd-tools": "^6.1.1",
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.1",
"bisheng": "^0.28.4",
"bisheng": "^1.0.0",
"bisheng-plugin-antd": "^0.17.0",
"bisheng-plugin-description": "^0.1.4",
"bisheng-plugin-react": "^0.6.3",
@ -237,6 +237,7 @@
"sideEffects": [
"dist/*",
"es/**/style/*",
"lib/**/style/*"
"lib/**/style/*",
"*.less"
]
}

3
site/bisheng.config.js

@ -83,6 +83,9 @@ module.exports = {
doraConfig: {
verbose: true,
},
lessConfig: {
javascriptEnabled: true,
},
webpackConfig(config) {
// eslint-disable-next-line
config.resolve.alias = {

3
webpack.config.js

@ -1,8 +1,9 @@
/* eslint no-param-reassign: 0 */
// This config is for building dist files
const webpack = require('webpack'); // eslint-disable-line
const getWebpackConfig = require('antd-tools/lib/getWebpackConfig');
const { webpack } = getWebpackConfig;
// noParse still leave `require('./locale' + name)` in dist files
// ignore is better: http://stackoverflow.com/q/25384360
function ignoreMomentLocale(webpackConfig) {

Loading…
Cancel
Save