-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: container inversion for server #808
Feat: container inversion for server #808
Conversation
ScriptedAlchemy
commented
Apr 25, 2023
•
edited
Loading
edited
- Container inversion in server
- re-implement module hoisting design
- new snapshots and tests
@@ -49,7 +49,7 @@ const nextConfig = { | |||
}, | |||
shared: { | |||
// lodash: {}, | |||
// antd: {}, | |||
antd: {}, | |||
}, | |||
extraOptions: { | |||
automaticAsyncBoundary: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code patch is very short and doesn't have any apparent bugs or risks. It simply comments out the lodash
library from being shared and enables sharing of the antd
library. However, it's difficult to assess the quality of the code without further context or information about the purpose and requirements of this code patch.
package-lock.json
Outdated
@@ -34262,7 +34267,8 @@ | |||
"version": "file:dist/packages/utilities", | |||
"requires": { | |||
"next": "13.3.0", | |||
"react": "18.2.0" | |||
"react": "18.2.0", | |||
"webpack-sources": "3.2.3" | |||
} | |||
}, | |||
"@mole-inc/bin-wrapper": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code is a patch that adds "webpack-sources": "3.2.3"
as a dependency to three different packages in a project. The change seems reasonable and there are no obvious bug risks. One potential improvement could be to provide a justification for why the webpack-sources
package was added as a dependency, so that future maintainers can understand the reasoning behind the change.
* working on share scope resetting during hmr * fix: address destructive share scope operations on hmr * fix: duplicate share key in scope * fix: module sharing without eager entry bloat
…oisting # Conflicts: # packages/nextjs-mf/__snapshots__/chunk-intergration.test.ts.snap
* fix: improve module chunk graph connections * feat: DelegateModulePlugin (#803) * refactor: stage back module classification Adding new utility plugin for delegate modules * chore: clean up unused modules * Feat: container inversion for server (#808) * test: add InvertedContainerPlugin * chore: enable sharing again * fix: HMR deletes share scope (#811) * working on share scope resetting during hmr * fix: address destructive share scope operations on hmr * fix: duplicate share key in scope * fix: module sharing without eager entry bloat
* fix: improve module chunk graph connections * feat: DelegateModulePlugin (#803) * refactor: stage back module classification Adding new utility plugin for delegate modules * chore: clean up unused modules * Feat: container inversion for server (#808) * test: add InvertedContainerPlugin * chore: enable sharing again * fix: HMR deletes share scope (#811) * working on share scope resetting during hmr * fix: address destructive share scope operations on hmr * fix: duplicate share key in scope * fix: module sharing without eager entry bloat