Skip to content

Commit dac5f3d

Browse files
authored
Update README.md
1 parent 24b9d04 commit dac5f3d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ Modify your microservice's `webpack.config`:
1414
- `output.libraryTarget` must be `amd`
1515
- add to `plugins`
1616
```
17-
new MicroservicesWebpackPlugin([
18-
{ name: 'react', path: `umd/react.production.min.js` },
19-
])
17+
new MicroservicesWebpackPlugin({
18+
modules: [
19+
{ name: 'react', path: `umd/react.production.min.js` },
20+
]
21+
})
2022
```
2123

2224

0 commit comments

Comments
 (0)