From dac5f3d2de93f8b37cde38d2ccea5e9ef957f6ec Mon Sep 17 00:00:00 2001 From: Dawid Winiarczyk Date: Fri, 22 Mar 2019 13:09:19 +0100 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8476935..ceb7285 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,11 @@ Modify your microservice's `webpack.config`: - `output.libraryTarget` must be `amd` - add to `plugins` ``` -new MicroservicesWebpackPlugin([ - { name: 'react', path: `umd/react.production.min.js` }, -]) +new MicroservicesWebpackPlugin({ + modules: [ + { name: 'react', path: `umd/react.production.min.js` }, + ] +}) ```