Skip to content

Commit

Permalink
fix the example of multiple modules
Browse files Browse the repository at this point in the history
  • Loading branch information
g8up authored Jun 28, 2019
1 parent f07ad88 commit e9c30ef
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,25 @@ Via `.babelrc` or babel-loader.
}
```

## Multiple Module
## Multiple Modules
```javascript
{
"plugins": [xxx,
["component", {
libraryName: "antd",
style: true,
}, "antd"],
["component", {
libraryName: "test-module",
style: true,
}, "test-module"]
]
}
"plugins": [
[
"component",
[
{
"libraryName": "antd",
"style": true
},
{
"libraryName": "test-module",
"style": true
},
// ...
]
]
}
```

### Component directory structure
Expand Down

0 comments on commit e9c30ef

Please sign in to comment.