Skip to content

Commit

Permalink
fix(src/react): 增加antd和样式修改
Browse files Browse the repository at this point in the history
不兼容变更: less 需要更换版本
  • Loading branch information
Mr-liu committed Dec 21, 2019
1 parent e990865 commit 1c9b1ab
Show file tree
Hide file tree
Showing 7 changed files with 1,217 additions and 172 deletions.
135 changes: 75 additions & 60 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
增加react配置 | [76c0fe1](https://github.com/luoxue-victor/learn_webpack/commit/76c0fe1), closes [#8](https://github.com/luoxue-victor/learn_webpack/issues/8)


### 🎨 代码样式
范围|描述|commitId
--|--|--
src/react | 修改样式 | [e990865](https://github.com/luoxue-victor/learn_webpack/commit/e990865)


### 🐛 Bug 修复
范围|描述|commitId
--|--|--
Expand Down
3 changes: 2 additions & 1 deletion config/babelLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ module.exports = ({ config }) => {
'transform-class-properties',
'@babel/proposal-object-rest-spread',
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-proposal-class-properties'
'@babel/plugin-proposal-class-properties',
['import', { libraryName: 'antd', style: true }]
]
}

Expand Down
Loading

0 comments on commit 1c9b1ab

Please sign in to comment.