diff --git a/package.json b/package.json index 0d76ddcf37..c6d8811ab6 100644 --- a/package.json +++ b/package.json @@ -94,10 +94,10 @@ "babel-preset-react": "^6.16.0", "babel-preset-stage-0": "^6.16.0", "bezier-easing": "^2.0.3", - "bisheng": "^0.26.0", + "bisheng": "^0.27.0", "bisheng-plugin-antd": "^0.15.0", "bisheng-plugin-description": "^0.1.1", - "bisheng-plugin-react": "^0.5.0", + "bisheng-plugin-react": "^0.6.0", "bisheng-plugin-toc": "^0.4.0", "color-standalone": "^0.11.6", "commander": "^2.11.0", @@ -173,8 +173,8 @@ "dist": "antd-tools run dist", "compile": "antd-tools run compile", "tsc": "tsc", - "start": "node ./scripts/generateColorLess.js && cross-env NODE_ENV=development bisheng start -c ./site/bisheng.config.js --no-livereload", - "start:preact": "node ./scripts/generateColorLess.js && cross-env NODE_ENV=development REACT_ENV=preact bisheng start -c ./site/bisheng.config.js --no-livereload", + "start": "node ./scripts/generateColorLess.js && cross-env NODE_ENV=development bisheng start -c ./site/bisheng.config.js", + "start:preact": "node ./scripts/generateColorLess.js && cross-env NODE_ENV=development REACT_ENV=preact bisheng start -c ./site/bisheng.config.js", "site": "cross-env NODE_ENV=production bisheng build --ssr -c ./site/bisheng.config.js", "deploy": "antd-tools run clean && npm run site && node ./scripts/generateColorLess.js && bisheng gh-pages --push-only", "pub": "antd-tools run pub", diff --git a/site/bisheng.config.js b/site/bisheng.config.js index 9fef7cba94..3eb7d95c6e 100644 --- a/site/bisheng.config.js +++ b/site/bisheng.config.js @@ -81,14 +81,6 @@ module.exports = { }); } - config.babel.plugins.push([ - require.resolve('babel-plugin-transform-runtime'), - { - polyfill: false, - regenerator: true, - }, - ]); - config.plugins.push(new CSSSplitWebpackPlugin({ size: 4000 })); return config;