You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
Minification and concatenating modify code in that way which rise an error in runtime.
Minimal reproduce repo and it can be seen here https://inoyakaigor.github.io/
If the current behavior is a bug, please provide the steps to reproduce.
Open https://inoyakaigor.github.io/, open devtools, reload.
What is the expected behavior?
I expect webpack to modify the code so that it will work. I realize that when webpack builds code, it doesn't know what happens at runtime, and I'm not sure that it can be fixed in principle.
Other relevant information:
I think this issue relevant to #8902 because the error can be fixed if set to false the optimization.minimize and optimization.concatenateModules
If you after look in code start thinking about circular dependicies or something you also should to know that way to connecting store via the root store described in Mobx best practices
Bug report
What is the current behavior?
Minification and concatenating modify code in that way which rise an error in runtime.
Minimal reproduce repo and it can be seen here https://inoyakaigor.github.io/
If the current behavior is a bug, please provide the steps to reproduce.
Open https://inoyakaigor.github.io/, open devtools, reload.
What is the expected behavior?
I expect webpack to modify the code so that it will work. I realize that when webpack builds code, it doesn't know what happens at runtime, and I'm not sure that it can be fixed in principle.
Other relevant information:
I think this issue relevant to #8902 because the error can be fixed if set to
false
theoptimization.minimize
andoptimization.concatenateModules
If you after look in code start thinking about circular dependicies or something you also should to know that way to connecting store via the root store described in Mobx best practices
webpack version: 4.43.0
Node.js version: 14
Operating System: macos 10.14
Additional tools:
React: 16.13.1
Mobx: 5.15.4
Typescript: 3.8.3
The text was updated successfully, but these errors were encountered: