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` }, + ] + }) ] };