Skip to content

Commit

Permalink
fix: webpack.base
Browse files Browse the repository at this point in the history
  • Loading branch information
mezhanglei committed Dec 28, 2023
1 parent a524188 commit eaf2f39
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ npm install
npm run start
```

## Sponsor
<!-- ## Sponsor
If you think it's awesome, sponsor the author with a cup of coffee!
| WeChatPay | Alipay |
|---|---|
|<img src="https://cdn.jsdelivr.net/gh/mezhanglei/myImages@master/mine/weixin_pay.png" width="200" />| <img src="https://cdn.jsdelivr.net/gh/mezhanglei/myImages@master/mine/ali_pay.png" width="200" /> |
|<img src="https://cdn.jsdelivr.net/gh/mezhanglei/myImages@master/mine/weixin_pay.png" width="200" />| <img src="https://cdn.jsdelivr.net/gh/mezhanglei/myImages@master/mine/ali_pay.png" width="200" /> | -->

## License
The MIT License (MIT), Please enjoy it.
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
- `@simpleform/render`: <a href="https://mezhanglei.github.io/simpleform/" target="_blank">documentation</a>.
- `@simpleform/editor`: <a href="https://mezhanglei.github.io/simpleform/" target="_blank">documentation</a>.

## 开发环境
## 本地运行环境

### 环境
### 依赖
- [Node.js](https://nodejs.org/en/) Version >= 18.8.2
- [react](https://react.docschina.org/) Version >= 16.8.0

Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"react-responsive-modal": "^6.4.2"
},
"peerDependencies": {
"antd": ">=4.0.0",
"antd": ">=5.0.0",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-router-dom": ">=5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/webpack/webpack.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ module.exports = {
new ESLintWebpackPlugin({
context: paths.appRoot
}),
isDev || isDist &&
(isDev || isDist) &&
new HtmlWebpackPlugin({
filename: `index.html`,
template: paths.appHtml,
Expand Down
2 changes: 1 addition & 1 deletion packages/form/webpack/webpack.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ module.exports = {
new ESLintWebpackPlugin({
context: paths.appRoot
}),
isDev || isDist &&
(isDev || isDist) &&
new HtmlWebpackPlugin({
filename: `index.html`,
template: paths.appHtml,
Expand Down
2 changes: 1 addition & 1 deletion packages/render/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export default function Demo(props) {
}
```
### 4. List Demo
支持数组渲染
Support for array rendering
```javascript
import React, { useState } from 'react';
import FormRender, { useSimpleForm } from './form-render';
Expand Down
2 changes: 1 addition & 1 deletion packages/render/webpack/webpack.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ module.exports = {
new ESLintWebpackPlugin({
context: paths.appRoot
}),
isDev || isDist &&
(isDev || isDist) &&
new HtmlWebpackPlugin({
filename: `index.html`,
template: paths.appHtml,
Expand Down

0 comments on commit eaf2f39

Please sign in to comment.