Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
next
peer dep in nextjs-mf (#221) (d9b1677)automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
chore: fix project.json
debugging
fix: resolve backmerge issues with build
Merge branch 'kill_child_compilers' into fix_backmerge_issues
feat: enable eager sharing
refactor: improve module hooks for eager loading and search
refactor: cleanup custom jsonp and make es5
refactor: cleanup inverted container code
refactor: cleanup inverted container code
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
fix: resolve backmerge issues with build
Merge branch 'kill_child_compilers' into fix_backmerge_issues
feat: enable eager sharing
refactor: improve module hooks for eager loading and search
refactor: cleanup custom jsonp and make es5
refactor: cleanup inverted container code
refactor: cleanup inverted container code
ci: fix install step with npm and NX
test: remove tests for now
chore(utils): release version 1.7.3-beta.0
chore(utils): release version 1.7.3
chore(node): release version 0.14.4-beta.0
chore(node): release version 0.14.4
chore(nextjs-mf): release version 6.4.1-beta.4
fix: remove debugging runtime variable
chore(nextjs-mf): release version 6.4.1-beta.5
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
chore: fix project.json
debugging
fix: resolve backmerge issues with build
Merge branch 'kill_child_compilers' into fix_backmerge_issues
feat: enable eager sharing
refactor: improve module hooks for eager loading and search
refactor: cleanup custom jsonp and make es5
refactor: cleanup inverted container code
refactor: cleanup inverted container code
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
fix: resolve backmerge issues with build
Merge branch 'kill_child_compilers' into fix_backmerge_issues
feat: enable eager sharing
refactor: improve module hooks for eager loading and search
refactor: cleanup custom jsonp and make es5
refactor: cleanup inverted container code
refactor: cleanup inverted container code
ci: fix install step with npm and NX
test: remove tests for now
chore(utils): release version 1.7.3-beta.0
chore(utils): release version 1.7.3
chore(node): release version 0.14.4-beta.0
chore(node): release version 0.14.4
chore(nextjs-mf): release version 6.4.1-beta.4
fix: remove debugging runtime variable
chore(nextjs-mf): release version 6.4.1-beta.5
Previously, we used to "rekey" all shared packages used in a host in order to prevent eager consumption issues. However, this caused unforeseen issues when trying to share a singleton package, as the package would end up being bundled multiple times per page.
As a result, we have had to stop rekeying shared modules in userland and only do so on internal Next packages themselves.
If you need to dangerously share a package using the old method, you can do so by using the following code:
const shared = {
fakeLodash: {
import: "lodash",
shareKey: "lodash",
}
}
Please note that this method is now considered dangerous and should be used with caution.
update build release
update build release
typescript: Reimplemented the whole plugin from round-up to enhance performance, prevent excessive recompilation and other issues.
Some key changes to the plugin includes:
Please go through plugin readme.md
file to understand what's changed and how to use the plugin.
Published by github-actions[bot] 11 months ago
next
peer dep in nextjs-mf (#221) (d9b1677)automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
chore: fix project.json
debugging
fix: resolve backmerge issues with build
Merge branch 'kill_child_compilers' into fix_backmerge_issues
feat: enable eager sharing
refactor: improve module hooks for eager loading and search
refactor: cleanup custom jsonp and make es5
refactor: cleanup inverted container code
refactor: cleanup inverted container code
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
fix: resolve backmerge issues with build
Merge branch 'kill_child_compilers' into fix_backmerge_issues
feat: enable eager sharing
refactor: improve module hooks for eager loading and search
refactor: cleanup custom jsonp and make es5
refactor: cleanup inverted container code
refactor: cleanup inverted container code
ci: fix install step with npm and NX
test: remove tests for now
chore(utils): release version 1.7.3-beta.0
chore(utils): release version 1.7.3
chore(node): release version 0.14.4-beta.0
chore(node): release version 0.14.4
chore(nextjs-mf): release version 6.4.1-beta.4
fix: remove debugging runtime variable
chore(nextjs-mf): release version 6.4.1-beta.5
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
chore: fix project.json
debugging
fix: resolve backmerge issues with build
Merge branch 'kill_child_compilers' into fix_backmerge_issues
feat: enable eager sharing
refactor: improve module hooks for eager loading and search
refactor: cleanup custom jsonp and make es5
refactor: cleanup inverted container code
refactor: cleanup inverted container code
automaticAsyncBoundary option has been removed
fix: exclude specific pages from page map automatically
refactor: conslidate codebase
fix: improve hot reload share recovery
refactor: remove server jsonp template
chore: remove dead code from runtime modules
fix: clean up jsonp getCustomJsonpCode
getting chunk loading global from compiler output options
feat: adding cleanInitArrays runtime helper
chore: remove share scope hoist and module hoisting system
chore: cleanup code
chore: remove dead code from add module runtime plugin
likely can remove whole plugin in future
chore: remove logs from delegate modules
chore: remove old utils
fix: add warning on auto page stitch
fix: remove commented out code from InvertedContainerPlugin.ts
chore: improve logging to see if its local load or remote load
chore: clean up old custom promises factories
fix: remove container proxy code
fix: remove container proxy code
fix: resolve backmerge issues with build
Merge branch 'kill_child_compilers' into fix_backmerge_issues
feat: enable eager sharing
refactor: improve module hooks for eager loading and search
refactor: cleanup custom jsonp and make es5
refactor: cleanup inverted container code
refactor: cleanup inverted container code
ci: fix install step with npm and NX
test: remove tests for now
chore(utils): release version 1.7.3-beta.0
chore(utils): release version 1.7.3
chore(node): release version 0.14.4-beta.0
chore(node): release version 0.14.4
chore(nextjs-mf): release version 6.4.1-beta.4
fix: remove debugging runtime variable
chore(nextjs-mf): release version 6.4.1-beta.5
Previously, we used to "rekey" all shared packages used in a host in order to prevent eager consumption issues. However, this caused unforeseen issues when trying to share a singleton package, as the package would end up being bundled multiple times per page.
As a result, we have had to stop rekeying shared modules in userland and only do so on internal Next packages themselves.
If you need to dangerously share a package using the old method, you can do so by using the following code:
const shared = {
fakeLodash: {
import: "lodash",
shareKey: "lodash",
}
}
Please note that this method is now considered dangerous and should be used with caution.
update build release
update build release
typescript: Reimplemented the whole plugin from round-up to enhance performance, prevent excessive recompilation and other issues.
Some key changes to the plugin includes:
Please go through plugin readme.md
file to understand what's changed and how to use the plugin.
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago