Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

there is no mention about how to debug a module federation app. #3578

wibed started this conversation in General
Discussion options

i can change the following lines:

 "build:client": "rimraf dist/client && webpack --mode development --progress --config config/webpack.client.js",
 "build:server": "rimraf dist/server && webpack --mode development --progress --config config/webpack.server.js"

yet besides changing development into production i am not sure which approach would be best suited to debug a module federation application

EDIT:

I found, changing mode to development not only in package.json but also within webpack configuration as well as applying

 optimization: {
 minimize: false
 },

to the shared webpack config has been helpful.
Please post more if you know better ways

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /