Skip to content

Commit

Permalink
更新部分依赖库
Browse files Browse the repository at this point in the history
  • Loading branch information
myZhangDong committed Jan 4, 2021
1 parent 4beed1d commit 03e8364
Show file tree
Hide file tree
Showing 6 changed files with 28,255 additions and 22,959 deletions.
2 changes: 2 additions & 0 deletions demo/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ module.exports = {
// options: {
// importLoaders: 1
// }

},
{
loader: require.resolve("postcss-loader"),
Expand All @@ -256,6 +257,7 @@ module.exports = {
{
loader: require.resolve("less-loader"),
options: {
javascriptEnabled: true
// TODO 通过theme.js定义antd组件样式,并且支持按照依赖导入 https://ant.design/docs/react/customize-theme-cn
// TODO custom style by theme.js, https://ant.design/docs/react/customize-theme-cn
// modifyVars: getThemeConfig()
Expand Down
3 changes: 2 additions & 1 deletion demo/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ module.exports = {
use: [
require.resolve("style-loader"),
{
loader: require.resolve("css-loader")
loader: require.resolve("css-loader"),
// options: {
// importLoaders: 1
// }
Expand Down Expand Up @@ -286,6 +286,7 @@ module.exports = {
loader: require.resolve("less-loader"),
options: {
// modifyVars: getThemeConfig()
javascriptEnabled: true
}
}
]
Expand Down
Loading

0 comments on commit 03e8364

Please sign in to comment.