Skip to content

Commit

Permalink
fix(demos): use empty entry in federated module webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed Jul 9, 2021
1 parent f3797ce commit 95073f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.tmp
cdk.out
coverage
dist
lerna-debug.log
lib
node_modules
Expand Down
4 changes: 2 additions & 2 deletions packages/demos/src/module-loader-multiple/webpack-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ const configs = [
},
}),
merge(webpackBaseConfig, {
entry: path.join(__dirname, './feature-app-2.tsx'),
entry: {},
output: {
filename: 'feature-app-2.federated.js',
publicPath: '/',
},
plugins: [
new webpack.container.ModuleFederationPlugin({
filename: 'feature-app-2.federated.js',
name: '__feature_hub_feature_app_module_container__',
exposes: {
featureAppModule: path.join(__dirname, './feature-app-2'),
Expand Down

0 comments on commit 95073f0

Please sign in to comment.