From e58f9a9a80be14f5c4d2deff798a83f4a1ef33d7 Mon Sep 17 00:00:00 2001 From: Dawid Winiarczyk Date: Fri, 22 Mar 2019 13:09:58 +0100 Subject: [PATCH] Update webpack.config.js --- examples/umd/webpack.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/umd/webpack.config.js b/examples/umd/webpack.config.js index 4e0049b..bea6bd8 100644 --- a/examples/umd/webpack.config.js +++ b/examples/umd/webpack.config.js @@ -10,8 +10,10 @@ module.exports = { libraryTarget: 'amd' }, plugins: [ - new MicroservicesWebpackPlugin([ - { name: 'react', path: `umd/react.production.min.js` }, - ]) + new MicroservicesWebpackPlugin({ + modules: [ + { name: 'react', path: `umd/react.production.min.js` }, + ] + }) ] };