Skip to content

Commit

Permalink
some site detail
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Apr 9, 2016
1 parent 5fc57c9 commit ddd6198
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/react/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ npm install antd@beta --save

我们在 `antd/dist` 目录下提供了 `antd.js` `antd.css` 以及 `antd.min.js` `antd.min.css` 用于一次性引入所有的 antd 组件,也可以使用 [npmcdn](https://npmcdn.com/) 引入。

> 对于 1.0 之前的版本,我们也提供了一个 [构建的例子](https://github.com/ant-design/antd-init/tree/master/examples/build-antd-standalone) 以供参考。
> 对于 1.0 之前的版本,这里有一个 [自行构建的例子](https://github.com/ant-design/antd-init/tree/master/examples/build-antd-standalone) 以供参考。
## 开发工具

Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
<body>
<div id="react-content"></div>
</body>
<script src="./common.js"></script>
<script src="./index.js"></script>
</html>
5 changes: 5 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,10 @@ module.exports = function(webpackConfig) {
];
}

// remove common.js
if (webpackConfig.plugins[0].chunkNames === 'common') {
webpackConfig.plugins.shift();
}

return webpackConfig;
};

0 comments on commit ddd6198

Please sign in to comment.