Comments (10)
Still have
Version info
"webpack": "^5.0.0-beta.29",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
Plugin config
new ModuleFederationPlugin({
name: APP_CONFIG.syscode,
remotes,
filename: 'remoteEntry.js',
exposes: {
'./routes': './src/routes',
},
}),
from module-federation-examples.
from module-federation-examples.
Still an issue for me with the same error as above. Here the critical content in my remoteEntry.js:
from module-federation-examples.
beta 20?
from module-federation-examples.
beta 20?
yes
from module-federation-examples.
@jherr what are you using for HMR?
Worst case, live-reload works haha. I'll have to dig deeper. It might be good to post the issue here. Also, state how long its been an issue (beta 16?)
from module-federation-examples.
Should be resolved
from module-federation-examples.
from module-federation-examples.
any update this ?
I have created small sample to reproduce the error:
https://github.com/solankivj/fast-refresh-hmr-error
Error only come when i expose something
- Try running app after clone with
npm start
- Edit something and save.
- Error will show in console
- Remove expose field from module_federation plugin and restart
- Now the error is gone but on save we get full page refresh
from module-federation-examples.
I have this exact same issue that is only solved by not exposing anything in the ModuleFederationPlugin. Looks like cross-container support is on the roadmap:
#358
from module-federation-examples.
Related Issues (20)
- Uncaught SyntaxError: Unexpected token function when use module federation v1.5 HOT 3
- Code Nextjs-v14 throws error when try to run HOT 5
- [Feature request/discussion] Allow having multiple instances of shared dependencies HOT 3
- Hot Module Reloading is solved! HOT 1
- [Question] Shared modules are duplicate in multi-bundle files of MF v8.2.2 above HOT 10
- Can I Remove remote.js?[hash] for cache remote.js HOT 2
- NPM package unavailable - nextjs-shared-v14 HOT 1
- [Bug][Nextjs13] Uncaught TypeError: Cannot read properties of undefined (reading 'consumes') HOT 2
- Examples issue HOT 3
- vue-cli master分支跑不起来 HOT 1
- [Question] URL parameters? HOT 6
- externals @module-federation/webpack-bundler-runtime no work HOT 1
- Dynamic-remotes shared config not work HOT 2
- Does V2 currently support Vite? HOT 1
- Microfe
- nextjs mf does not generate remoteEntry.js HOT 6
- Add ability to reduce requests waterfall for host-ui HOT 3
- [Help] Router Module forRoot Issue with Module Federation HOT 1
- css-Isolation not working in rspack example HOT 1
- Does it work with the Next 14 App router?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from module-federation-examples.