Commit 0c463096 by bert

v1

parent 25b2b7d6
...@@ -14,3 +14,4 @@ trim_trailing_whitespace = false ...@@ -14,3 +14,4 @@ trim_trailing_whitespace = false
[Makefile] [Makefile]
indent_style = tab indent_style = tab
...@@ -18,3 +18,4 @@ ...@@ -18,3 +18,4 @@
"experimentalObjectRestSpread": true "experimentalObjectRestSpread": true
} }
} }
...@@ -2,3 +2,4 @@ dist ...@@ -2,3 +2,4 @@ dist
node_modules node_modules
.DS_Store .DS_Store
...@@ -58,7 +58,7 @@ https://github.com/airbnb/javascript ...@@ -58,7 +58,7 @@ https://github.com/airbnb/javascript
│ └── components # 直观React组件 │ └── components # 直观React组件
└── tests # 单元测试 └── tests # 单元测试
``` ```
## 兼容性 ## 兼容性
[antd 官方介绍](http://ant.design/docs/react/getting-started#兼容性) [antd 官方介绍](http://ant.design/docs/react/getting-started#兼容性)
......
...@@ -5,7 +5,7 @@ const webpack = require('atool-build/lib/webpack'); ...@@ -5,7 +5,7 @@ const webpack = require('atool-build/lib/webpack');
const fs = require('fs'); const fs = require('fs');
const path = require('path'); const path = require('path');
const glob = require('glob'); const glob = require('glob');
module.exports = function(webpackConfig) { module.exports = function(webpackConfig) {
webpackConfig.babel.plugins.push('transform-runtime'); webpackConfig.babel.plugins.push('transform-runtime');
webpackConfig.babel.plugins.push(['antd', { webpackConfig.babel.plugins.push(['antd', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment