Skip to content
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

Merged

Conversation

ScriptedAlchemy
Copy link
Member

@ScriptedAlchemy ScriptedAlchemy commented Apr 25, 2023

  • 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,
Copy link

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.

@@ -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": {
Copy link

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
@ScriptedAlchemy ScriptedAlchemy merged commit dcba6ed into improve_module_chunk_connections Apr 27, 2023
@ScriptedAlchemy ScriptedAlchemy deleted the improve_vendor_hoisting branch April 27, 2023 17:27
ScriptedAlchemy added a commit that referenced this pull request Apr 27, 2023
* 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
ScriptedAlchemy added a commit that referenced this pull request Apr 27, 2023
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant