From ddd64003919360e46f14e29351b942cb14f07509 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 16 Aug 2019 13:34:35 +0800 Subject: [PATCH] :china: Fix cn pages locale --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2760da2961..6dee06ae4f 100644 --- a/package.json +++ b/package.json @@ -136,6 +136,7 @@ "eslint-plugin-react": "^7.14.2", "eslint-tinker": "^0.5.0", "fetch-jsonp": "^1.1.3", + "full-icu": "^1.3.0", "glob": "^7.1.4", "husky": "^3.0.2", "immutability-helper": "^3.0.0", @@ -210,7 +211,7 @@ "tsc": "tsc", "start": "rimraf _site && mkdir _site && 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": "bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js", + "site": "cross-env NODE_ICU_DATA=node_modules/full-icu bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js", "predeploy": "antd-tools run clean && npm run site && cp netlify.toml CNAME _site && cp .circleci/config.yml _site", "deploy": "bisheng gh-pages --push-only", "deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages",