diff --git a/webpack.config.js b/webpack.config.js index d62eba2..b36baad 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,7 +14,7 @@ module.exports = (env = {}) => merge(common(env), { plugins: [ new webpack.container.ModuleFederationPlugin({ name: 'ClusterChatSync', - library: {type: 'var', name: 'plugin_ClusterChatSync' }, + library: {type: 'window', name: 'plugin_ClusterChatSync' }, exposes: { './': './info.js', './package.json': './package.json',