diff --git a/CNAME b/CNAME new file mode 100644 index 0000000000..224102eb87 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +ant.design diff --git a/package.json b/package.json index e7bd5f17c7..1cdf70a590 100644 --- a/package.json +++ b/package.json @@ -212,7 +212,7 @@ "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": "cross-env NODE_ENV=production bisheng build --ssr -c ./site/bisheng.config.js && node ./scripts/generateColorLess.js", - "predeploy": "antd-tools run clean && npm run site && cp netlify.toml _site && cp -r .circleci _site", + "predeploy": "antd-tools run clean && npm run site && cp netlify.toml CNAME _site && cp -r .circleci _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", "pub": "antd-tools run pub",