├── .changeset ├── README.md └── config.json ├── .cursor └── mcp.json ├── .cursorignore ├── .cursorrules ├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .github ├── .github │ └── release.yml ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── dependabot.yml ├── pr-labeler.yml ├── pull_request_template.md ├── release.yml └── workflows │ ├── build-and-test.yml │ ├── devtools.yml │ ├── e2e-manifest.yml │ ├── e2e-modern-ssr.yml │ ├── e2e-modern.yml │ ├── e2e-next-dev.yml │ ├── e2e-next-prod.yml │ ├── e2e-node.yml │ ├── e2e-router.yml │ ├── e2e-runtime.yml │ ├── issue-close-require.yml │ ├── issue-labeled.yml │ ├── pr-label.yaml │ ├── release-pull-request.yml │ ├── release.yml │ └── stale.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .npmrc ├── .nvmrc ├── .nxignore ├── .prettierignore ├── .prettierrc ├── .verdaccio ├── config.yml └── htpasswd ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── ai-lint-fix.js ├── apps ├── 3000-home │ ├── .env │ ├── .eslintrc.json │ ├── components │ │ ├── SharedNav.tsx │ │ ├── menu.tsx │ │ └── thing.module.css │ ├── cypress.config.ts │ ├── cypress │ │ ├── e2e │ │ │ └── app.cy.ts │ │ ├── fixtures │ │ │ └── example.json │ │ ├── support │ │ │ ├── app.po.ts │ │ │ ├── commands.ts │ │ │ └── e2e.ts │ │ └── tsconfig.json │ ├── next-env.d.ts │ ├── next.config.js │ ├── package.json │ ├── pages │ │ ├── _app.tsx │ │ ├── _document.js │ │ ├── api │ │ │ └── test.js │ │ ├── checkout │ │ │ ├── [...slug].tsx │ │ │ ├── [pid].tsx │ │ │ ├── exposed-pages.tsx │ │ │ ├── index.tsx │ │ │ ├── test-check-button.tsx │ │ │ └── test-title.tsx │ │ ├── home │ │ │ ├── exposed-pages.tsx │ │ │ ├── test-broken-remotes.tsx │ │ │ ├── test-remote-hook.tsx │ │ │ └── test-shared-nav.tsx │ │ ├── index.tsx │ │ └── shop │ │ │ ├── exposed-pages.js │ │ │ ├── index.js │ │ │ ├── products │ │ │ └── [...slug].js │ │ │ ├── test-webpack-png.js │ │ │ └── test-webpack-svg.js │ ├── project.json │ ├── public │ │ ├── .gitkeep │ │ ├── favicon.ico │ │ ├── webpack.png │ │ └── webpack.svg │ ├── remotes.d.ts │ └── tsconfig.json ├── 3001-shop │ ├── .env │ ├── .eslintrc.json │ ├── components │ │ ├── WebpackPng.tsx │ │ ├── WebpackSvg.tsx │ │ ├── exposedTitle.tsx │ │ ├── menu.tsx │ │ ├── nav.tsx │ │ └── useCustomRemoteHook.tsx │ ├── cypress.config.ts │ ├── cypress │ │ ├── e2e │ │ │ └── app.cy.ts │ │ ├── fixtures │ │ │ └── example.json │ │ ├── support │ │ │ ├── app.po.ts │ │ │ ├── commands.ts │ │ │ └── e2e.ts │ │ └── tsconfig.json │ ├── next-env.d.ts │ ├── next.config.js │ ├── package.json │ ├── pages │ │ ├── _app.tsx │ │ ├── _document.js │ │ ├── checkout │ │ │ ├── [...slug].tsx │ │ │ ├── [pid].tsx │ │ │ ├── exposed-pages.tsx │ │ │ ├── index.tsx │ │ │ ├── test-check-button.tsx │ │ │ └── test-title.tsx │ │ ├── home │ │ │ ├── exposed-pages.tsx │ │ │ ├── test-broken-remotes.tsx │ │ │ ├── test-remote-hook.tsx │ │ │ └── test-shared-nav.tsx │ │ ├── index.js │ │ ├── index.module.css │ │ ├── shop │ │ │ ├── exposed-pages.tsx │ │ │ ├── index.tsx │ │ │ ├── products │ │ │ │ └── [...slug].tsx │ │ │ ├── test-webpack-png.tsx │ │ │ └── test-webpack-svg.tsx │ │ └── styles.css │ ├── project.json │ ├── public │ │ ├── .gitkeep │ │ ├── webpack.png │ │ └── webpack.svg │ ├── remotes.d.ts │ └── tsconfig.json ├── 3002-checkout │ ├── .env │ ├── .eslintrc.json │ ├── components │ │ ├── ButtonOldAnt.tsx │ │ ├── CheckoutTitle.tsx │ │ ├── menu.tsx │ │ └── stuff.module.css │ ├── cypress.config.ts │ ├── cypress │ │ ├── e2e │ │ │ └── app.cy.ts │ │ ├── fixtures │ │ │ └── example.json │ │ ├── support │ │ │ ├── app.po.ts │ │ │ ├── commands.ts │ │ │ └── e2e.ts │ │ └── tsconfig.json │ ├── next-env.d.ts │ ├── next.config.js │ ├── package.json │ ├── pages │ │ ├── _app.tsx │ │ ├── _document.js │ │ ├── checkout │ │ │ ├── [...slug].tsx │ │ │ ├── [pid].tsx │ │ │ ├── exposed-pages.tsx │ │ │ ├── index.tsx │ │ │ ├── test-check-button.tsx │ │ │ └── test-title.tsx │ │ ├── home │ │ │ ├── exposed-pages.tsx │ │ │ ├── test-broken-remotes.tsx │ │ │ ├── test-remote-hook.tsx │ │ │ └── test-shared-nav.tsx │ │ ├── index.js │ │ └── shop │ │ │ ├── exposed-pages.js │ │ │ ├── index.js │ │ │ ├── products │ │ │ └── [...slug].js │ │ │ ├── test-webpack-png.js │ │ │ └── test-webpack-svg.js │ ├── project.json │ ├── public │ │ ├── .gitkeep │ │ ├── webpack.png │ │ └── webpack.svg │ ├── remotes.d.ts │ └── tsconfig.json ├── bundle-size │ ├── .babelrc │ ├── CHANGELOG.md │ ├── cypress.config.ts │ ├── cypress │ │ ├── e2e │ │ │ └── app.cy.ts │ │ ├── fixtures │ │ │ └── example.json │ │ ├── support │ │ │ ├── app.po.ts │ │ │ ├── commands.ts │ │ │ └── e2e.ts │ │ └── tsconfig.json │ ├── package.json │ ├── project.json │ ├── remotes.d.ts │ ├── src │ │ ├── HelloWorld.tsx │ │ ├── bootstrap.tsx │ │ ├── index.html │ │ └── index.ts │ ├── tsconfig.app.json │ ├── tsconfig.json │ └── webpack.config.js ├── docs-ui │ ├── .babelrc │ ├── .eslintrc.json │ ├── postcss.config.js │ ├── project.json │ ├── src │ │ ├── app │ │ │ ├── css │ │ │ │ ├── doc.scss │ │ │ │ ├── highlight.scss │ │ │ │ ├── nav.scss │ │ │ │ ├── page-languages.scss │ │ │ │ ├── search.scss │ │ │ │ └── toc-menu.scss │ │ │ ├── fonts │ │ │ │ ├── AvenirNextLTPro-Bold.otf │ │ │ │ ├── AvenirNextLTPro-BoldCn.otf │ │ │ │ ├── AvenirNextLTPro-BoldCnIt.otf │ │ │ │ ├── AvenirNextLTPro-BoldIt.otf │ │ │ │ ├── AvenirNextLTPro-Cn.otf │ │ │ │ ├── AvenirNextLTPro-CnIt.otf │ │ │ │ ├── AvenirNextLTPro-Demi.otf │ │ │ │ ├── AvenirNextLTPro-DemiCn.otf │ │ │ │ ├── AvenirNextLTPro-DemiCnIt.otf │ │ │ │ ├── AvenirNextLTPro-DemiIt.otf │ │ │ │ ├── AvenirNextLTPro-Heavy.otf │ │ │ │ ├── AvenirNextLTPro-HeavyCn.otf │ │ │ │ ├── AvenirNextLTPro-HeavyCnIt.otf │ │ │ │ ├── AvenirNextLTPro-HeavyIt.otf │ │ │ │ ├── AvenirNextLTPro-It.otf │ │ │ │ ├── AvenirNextLTPro-Medium.otf │ │ │ │ ├── AvenirNextLTPro-MediumCn.otf │ │ │ │ ├── AvenirNextLTPro-MediumCnIt.otf │ │ │ │ ├── AvenirNextLTPro-MediumIt.otf │ │ │ │ ├── AvenirNextLTPro-Regular.otf │ │ │ │ ├── AvenirNextLTPro-UltLt.otf │ │ │ │ ├── AvenirNextLTPro-UltLtCn.otf │ │ │ │ ├── AvenirNextLTPro-UltLtCnIt.otf │ │ │ │ └── AvenirNextLTPro-UltLtIt.otf │ │ │ ├── helpers │ │ │ │ ├── and.js │ │ │ │ ├── detag.js │ │ │ │ ├── eq.js │ │ │ │ ├── gt.js │ │ │ │ ├── increment.js │ │ │ │ ├── json.js │ │ │ │ ├── length.js │ │ │ │ ├── ne.js │ │ │ │ ├── not.js │ │ │ │ ├── or.js │ │ │ │ ├── relativize.js │ │ │ │ └── year.js │ │ │ ├── img │ │ │ │ ├── back.svg │ │ │ │ ├── caret.svg │ │ │ │ ├── chevron.svg │ │ │ │ ├── favicon.svg │ │ │ │ ├── home-o.svg │ │ │ │ ├── home.svg │ │ │ │ ├── icons-edit.svg │ │ │ │ ├── menu.svg │ │ │ │ ├── module-federation-logo.svg │ │ │ │ ├── octicons-16.svg │ │ │ │ └── text-bubble.svg │ │ │ ├── js │ │ │ │ ├── 01-nav.ts │ │ │ │ ├── 02-on-this-page.ts │ │ │ │ ├── 03-fragment-jumper.ts │ │ │ │ ├── 04-page-versions.ts │ │ │ │ ├── 05-mobile-navbar.ts │ │ │ │ ├── 06-copy-to-clipboard.ts │ │ │ │ ├── 07-page-languages.ts │ │ │ │ ├── 08-page-versions.ts │ │ │ │ ├── index.ts │ │ │ │ └── vendor │ │ │ │ │ └── highlight.bundle.js │ │ │ ├── layouts │ │ │ │ ├── 404.hbs │ │ │ │ └── default.hbs │ │ │ └── partials │ │ │ │ ├── article-404.hbs │ │ │ │ ├── article.hbs │ │ │ │ ├── body.hbs │ │ │ │ ├── breadcrumbs.hbs │ │ │ │ ├── footer-content.hbs │ │ │ │ ├── footer-scripts.hbs │ │ │ │ ├── footer.hbs │ │ │ │ ├── head-icons.hbs │ │ │ │ ├── head-info.hbs │ │ │ │ ├── head-meta.hbs │ │ │ │ ├── head-prelude.hbs │ │ │ │ ├── head-scripts.hbs │ │ │ │ ├── head-styles.hbs │ │ │ │ ├── head-title.hbs │ │ │ │ ├── head.hbs │ │ │ │ ├── header-content.hbs │ │ │ │ ├── header-scripts.hbs │ │ │ │ ├── header.hbs │ │ │ │ ├── icon.hbs │ │ │ │ ├── main.hbs │ │ │ │ ├── nav-explore.hbs │ │ │ │ ├── nav-menu.hbs │ │ │ │ ├── nav-toggle.hbs │ │ │ │ ├── nav-tree.hbs │ │ │ │ ├── page-languages.hbs │ │ │ │ ├── page-versions.hbs │ │ │ │ ├── pagination.hbs │ │ │ │ ├── social-icon-discord.hbs │ │ │ │ ├── social-icon-github.hbs │ │ │ │ ├── toc.hbs │ │ │ │ └── toolbar.hbs │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── main.ts │ │ └── styles.scss │ ├── tailwind.config.js │ ├── tsconfig.app.json │ ├── tsconfig.json │ └── webpack.config.js ├── docs │ ├── README.adoc │ ├── configs │ │ ├── docs-en.local.yml │ │ ├── docs-en.yml │ │ ├── docs-es.local.yml │ │ ├── docs-es.yml │ │ ├── docs-zh.local.yml │ │ ├── docs-zh.yml │ │ └── mf-antora-navigator.yml │ ├── make_pot.sh │ ├── project.json │ ├── src │ │ ├── en │ │ │ ├── antora.yml │ │ │ └── modules │ │ │ │ └── ROOT │ │ │ │ ├── nav.adoc │ │ │ │ └── pages │ │ │ │ ├── agnostic-way │ │ │ │ └── index.adoc │ │ │ │ ├── angular-way │ │ │ │ ├── auth0.adoc │ │ │ │ ├── i18n-angular.adoc │ │ │ │ ├── index.adoc │ │ │ │ ├── index2.adoc │ │ │ │ ├── mf-ssr-angular.adoc │ │ │ │ ├── okta-auth.adoc │ │ │ │ ├── service-workers-mf.adoc │ │ │ │ ├── splitting-to-mf-part1.adoc │ │ │ │ └── splitting-to-mf-part2.adoc │ │ │ │ ├── concepts │ │ │ │ ├── antipatterns.adoc │ │ │ │ ├── brown-green.adoc │ │ │ │ ├── component-level-ownership.adoc │ │ │ │ └── component-vs-mf.adoc │ │ │ │ ├── core-features │ │ │ │ ├── cache_busting.adoc │ │ │ │ ├── delegate-modules.adoc │ │ │ │ ├── dynamic-remotes.adoc │ │ │ │ ├── shared-api.adoc │ │ │ │ └── versioned-shared-modules.adoc │ │ │ │ ├── enhanced_api │ │ │ │ ├── about.adoc │ │ │ │ ├── features_default_async.adoc │ │ │ │ ├── features_module_name_map.adoc │ │ │ │ ├── features_remote_object_definition.adoc │ │ │ │ ├── features_remotes_name_map.adoc │ │ │ │ ├── features_remotes_url.adoc │ │ │ │ ├── getting_started.adoc │ │ │ │ ├── helper_about.adoc │ │ │ │ ├── helper_dynamicLoad.adoc │ │ │ │ ├── helper_getModule.adoc │ │ │ │ ├── helper_installation.adoc │ │ │ │ ├── installation.adoc │ │ │ │ └── nav.adoc │ │ │ │ ├── getting-started │ │ │ │ ├── best-practices.adoc │ │ │ │ ├── getting-started-practical.adoc │ │ │ │ ├── history.adoc │ │ │ │ ├── index.adoc │ │ │ │ ├── loc-dev-deployment.adoc │ │ │ │ ├── pros-cons.adoc │ │ │ │ ├── setup.adoc │ │ │ │ ├── use-cases.adoc │ │ │ │ └── what-is-mf.adoc │ │ │ │ ├── packages │ │ │ │ ├── module-federation-native-federation-tests.adoc │ │ │ │ ├── module-federation-native-federation-typescript.adoc │ │ │ │ ├── module-federation-node.adoc │ │ │ │ ├── module-federation-typescript.adoc │ │ │ │ └── module-federation-utilities.adoc │ │ │ │ ├── react-way │ │ │ │ ├── i18n-react.adoc │ │ │ │ └── index.adoc │ │ │ │ ├── recipes │ │ │ │ ├── composable-commerce-PBC-edition.adoc │ │ │ │ ├── examples-demos.adoc │ │ │ │ ├── mf-enterprise.adoc │ │ │ │ ├── mf-rollupjs.adoc │ │ │ │ ├── mf-split-chunks.adoc │ │ │ │ ├── mf-ssr.adoc │ │ │ │ ├── mf-typescript-plugin.adoc │ │ │ │ ├── naming-convention-tips.adoc │ │ │ │ ├── public-path-dynamic.adoc │ │ │ │ ├── resiliency-failovers.adoc │ │ │ │ ├── sentry-logging.adoc │ │ │ │ ├── shared-header-footer.adoc │ │ │ │ ├── state-management-redux.adoc │ │ │ │ ├── tailwind-mf.adoc │ │ │ │ └── unit-testing.adoc │ │ │ │ ├── vue-way │ │ │ │ └── index.adoc │ │ │ │ └── weblate_contribution_guide.adoc │ │ ├── es │ │ │ ├── antora.yml │ │ │ └── modules │ │ │ │ └── ROOT │ │ │ │ ├── nav.adoc │ │ │ │ └── pages │ │ │ │ ├── best-practices.adoc │ │ │ │ ├── brown-green.adoc │ │ │ │ ├── component-level-ownership.adoc │ │ │ │ ├── delegate-modules.adoc │ │ │ │ ├── dynamic-remotes.adoc │ │ │ │ ├── examples-demos.adoc │ │ │ │ ├── getting-started.adoc │ │ │ │ ├── history.adoc │ │ │ │ ├── mf-ssr.adoc │ │ │ │ ├── naming-convention-tips.adoc │ │ │ │ ├── pros-cons.adoc │ │ │ │ ├── public-path-dynamic.adoc │ │ │ │ ├── resiliency-failovers.adoc │ │ │ │ ├── setup.adoc │ │ │ │ ├── shared-api.adoc │ │ │ │ ├── shared-header-footer.adoc │ │ │ │ ├── team-collaboration-review.adoc │ │ │ │ ├── unit-testing.adoc │ │ │ │ └── use-cases.adoc │ │ ├── l10n-weblate │ │ │ ├── ROOT.cfg │ │ │ ├── ROOT │ │ │ │ ├── ROOT.pot │ │ │ │ ├── es.po │ │ │ │ └── zh_CN.po │ │ │ ├── enhanced_api.cfg │ │ │ └── enhanced_api │ │ │ │ ├── enhanced_api.pot │ │ │ │ ├── es.po │ │ │ │ └── zh_CN.po │ │ └── zh_CN │ │ │ └── antora.yml │ └── use_po.sh ├── esbuild │ ├── build.js │ ├── build │ │ ├── build-common.js │ │ ├── build-mfe1.js │ │ └── build-shell.js │ ├── libs │ │ └── shared-lib │ │ │ ├── index.ts │ │ │ └── package.json │ ├── mfe1 │ │ ├── app.tsx │ │ ├── bootstrap.tsx │ │ ├── favicon.ico │ │ ├── federation.config.js │ │ ├── federationInit.js │ │ ├── index.html │ │ ├── main.ts │ │ └── styles.css │ ├── package.json │ ├── shell │ │ ├── app.tsx │ │ ├── bootstrap.tsx │ │ ├── decl.ts │ │ ├── favicon.ico │ │ ├── federation.config.js │ │ ├── index.html │ │ ├── main.ts │ │ └── styles.css │ └── tsconfig.json ├── manifest-demo │ ├── 3009-webpack-provider │ │ ├── .babelrc │ │ ├── package.json │ │ ├── project.json │ │ ├── public │ │ │ ├── .gitkeep │ │ │ ├── webpack.png │ │ │ └── webpack.svg │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── Button.tsx │ │ │ ├── bootstrap.tsx │ │ │ ├── components │ │ │ │ ├── WebpackPng.tsx │ │ │ │ ├── WebpackSvg.tsx │ │ │ │ └── useCustomRemoteHook.tsx │ │ │ ├── index.html │ │ │ └── index.ts │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── webpack.config.js │ ├── 3010-rspack-provider │ │ ├── package.json │ │ ├── project.json │ │ ├── rspack.config.js │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── Button.tsx │ │ │ ├── bootstrap.tsx │ │ │ ├── components │ │ │ │ ├── ButtonOldAnt.tsx │ │ │ │ └── stuff.module.css │ │ │ ├── index.html │ │ │ └── index.ts │ │ ├── tsconfig.app.json │ │ └── tsconfig.json │ ├── 3011-rspack-manifest-provider │ │ ├── package.json │ │ ├── project.json │ │ ├── rspack.config.js │ │ ├── src │ │ │ ├── App.jsx │ │ │ ├── asyncFile.ts │ │ │ ├── bootsrtap.jsx │ │ │ ├── index.html │ │ │ └── index.js │ │ ├── tsconfig.app.json │ │ └── tsconfig.json │ ├── 3012-rspack-js-entry-provider │ │ ├── package.json │ │ ├── project.json │ │ ├── rspack.config.js │ │ ├── src │ │ │ ├── App.jsx │ │ │ ├── asyncFile.ts │ │ │ ├── bootstrap.jsx │ │ │ ├── index.html │ │ │ └── index.js │ │ ├── tsconfig.app.json │ │ └── tsconfig.json │ ├── README.md │ └── webpack-host │ │ ├── .babelrc │ │ ├── cypress.config.ts │ │ ├── cypress │ │ ├── e2e │ │ │ ├── basic-usage.cy.ts │ │ │ └── preload.cy.ts │ │ ├── fixtures │ │ │ └── example.json │ │ ├── support │ │ │ ├── app.po.ts │ │ │ ├── commands.ts │ │ │ └── e2e.ts │ │ └── tsconfig.json │ │ ├── package.json │ │ ├── project.json │ │ ├── remotes.d.ts │ │ ├── runtimePlugin.ts │ │ ├── src │ │ ├── App.tsx │ │ ├── Button.tsx │ │ ├── Preload.tsx │ │ ├── Root.tsx │ │ ├── components │ │ │ ├── ButtonOldAnt.tsx │ │ │ ├── stuff.module.css │ │ │ └── stuff.module.css.d.ts │ │ ├── index.html │ │ ├── index.tsx │ │ ├── runtimePlugin.ts │ │ ├── test-remote-hook.tsx │ │ ├── webpack.png │ │ └── webpack.svg │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── webpack.config.js ├── modern-component-data-fetch │ ├── README.md │ ├── host │ │ ├── .npmrc │ │ ├── CHANGELOG.md │ │ ├── cypress.config.ts │ │ ├── cypress │ │ │ ├── e2e │ │ │ │ ├── csr-with-fetch-data.cy.ts │ │ │ │ ├── downgrade.cy.ts │ │ │ │ ├── route-check.cy.ts │ │ │ │ └── ssr-with-fetch-data.cy.ts │ │ │ ├── support │ │ │ │ ├── app.po.ts │ │ │ │ ├── commands.ts │ │ │ │ └── e2e.ts │ │ │ └── tsconfig.json │ │ ├── modern.config.ts │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ │ ├── .eslintrc.js │ │ │ ├── modern-app-env.d.ts │ │ │ └── routes │ │ │ │ ├── basic │ │ │ │ └── page.tsx │ │ │ │ ├── client-downgrade │ │ │ │ └── page.tsx │ │ │ │ ├── csr │ │ │ │ └── page.tsx │ │ │ │ ├── index.css │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── server-downgrade │ │ │ │ └── page.tsx │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── tsconfig.spec.json │ ├── provider-csr │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── rslib.config.ts │ │ ├── src │ │ │ ├── index.data.ts │ │ │ └── index.tsx │ │ └── tsconfig.json │ └── provider │ │ ├── .npmrc │ │ ├── CHANGELOG.md │ │ ├── modern.config.ts │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ ├── .eslintrc.js │ │ ├── components │ │ │ ├── BasicComponent │ │ │ │ ├── index.data.client.ts │ │ │ │ ├── index.data.ts │ │ │ │ ├── index.tsx │ │ │ │ ├── stuff.module.css │ │ │ │ └── stuff.module.css.d.ts │ │ │ ├── ClientDowngrade │ │ │ │ ├── index.data.client.ts │ │ │ │ ├── index.data.ts │ │ │ │ └── index.tsx │ │ │ └── ServerDowngrade │ │ │ │ ├── index.data.ts │ │ │ │ └── index.tsx │ │ ├── modern-app-env.d.ts │ │ └── routes │ │ │ ├── index.css │ │ │ ├── layout.tsx │ │ │ ├── page.data.ts │ │ │ └── page.tsx │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── tsconfig.spec.json ├── modernjs-ssr │ ├── README.md │ ├── dynamic-nested-remote │ │ ├── .npmrc │ │ ├── CHANGELOG.md │ │ ├── modern.config.ts │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ │ ├── .eslintrc.js │ │ │ ├── components │ │ │ │ ├── Button.tsx │ │ │ │ ├── Button2.tsx │ │ │ │ ├── Content.tsx │ │ │ │ ├── stuff.module.css │ │ │ │ └── stuff.module.css.d.ts │ │ │ ├── modern-app-env.d.ts │ │ │ ├── routes │ │ │ │ ├── index.css │ │ │ │ ├── layout.tsx │ │ │ │ └── page.tsx │ │ │ └── test.ts │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── tsconfig.spec.json │ ├── dynamic-remote-new-version │ │ ├── .npmrc │ │ ├── CHANGELOG.md │ │ ├── modern.config.ts │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ │ ├── .eslintrc.js │ │ │ ├── components │ │ │ │ ├── Image.tsx │ │ │ │ ├── stuff.module.css │ │ │ │ └── stuff.module.css.d.ts │ │ │ ├── modern-app-env.d.ts │ │ │ ├── routes │ │ │ │ ├── index.css │ │ │ │ ├── layout.tsx │ │ │ │ └── page.tsx │ │ │ └── test.ts │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── tsconfig.spec.json │ ├── dynamic-remote │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── rslib.config.ts │ │ ├── src │ │ │ ├── Index.tsx │ │ │ ├── stuff.module.css │ │ │ └── stuff.module.css.d.ts │ │ └── tsconfig.json │ ├── host │ │ ├── .npmrc │ │ ├── CHANGELOG.md │ │ ├── cypress.config.ts │ │ ├── cypress │ │ │ ├── downloads │ │ │ │ └── downloads.html │ │ │ ├── e2e │ │ │ │ ├── app.cy.ts │ │ │ │ └── replace-remote.cy.ts │ │ │ ├── fixtures │ │ │ │ └── example.json │ │ │ ├── support │ │ │ │ ├── app.po.ts │ │ │ │ ├── commands.ts │ │ │ │ └── e2e.ts │ │ │ └── tsconfig.json │ │ ├── modern.config.ts │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ │ ├── .eslintrc.js │ │ │ ├── modern-app-env.d.ts │ │ │ └── routes │ │ │ │ ├── all │ │ │ │ └── page.tsx │ │ │ │ ├── dynamic-nested-remote │ │ │ │ └── page.tsx │ │ │ │ ├── dynamic-remote │ │ │ │ └── page.tsx │ │ │ │ ├── index.css │ │ │ │ ├── layout.tsx │ │ │ │ ├── nested-remote │ │ │ │ └── page.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── remote │ │ │ │ └── page.tsx │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── tsconfig.spec.json │ ├── nested-remote │ │ ├── .npmrc │ │ ├── CHANGELOG.md │ │ ├── modern.config.ts │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── serverroutebootstrap.js │ │ ├── src │ │ │ ├── .eslintrc.js │ │ │ ├── components │ │ │ │ ├── Content.tsx │ │ │ │ ├── stuff.module.css │ │ │ │ └── stuff.module.css.d.ts │ │ │ ├── modern-app-env.d.ts │ │ │ └── routes │ │ │ │ ├── index.css │ │ │ │ ├── layout.tsx │ │ │ │ └── page.tsx │ │ ├── test.js │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── tsconfig.spec.json │ ├── remote-new-version │ │ ├── .npmrc │ │ ├── CHANGELOG.md │ │ ├── modern.config.ts │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ │ ├── .eslintrc.js │ │ │ ├── components │ │ │ │ ├── Image.tsx │ │ │ │ ├── stuff.module.css │ │ │ │ └── stuff.module.css.d.ts │ │ │ ├── modern-app-env.d.ts │ │ │ ├── routes │ │ │ │ ├── index.css │ │ │ │ ├── layout.tsx │ │ │ │ └── page.tsx │ │ │ └── test.ts │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── tsconfig.spec.json │ └── remote │ │ ├── .npmrc │ │ ├── CHANGELOG.md │ │ ├── modern.config.ts │ │ ├── module-federation.config.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ ├── .eslintrc.js │ │ ├── components │ │ │ ├── Button.tsx │ │ │ ├── Image.tsx │ │ │ ├── stuff.module.css │ │ │ └── stuff.module.css.d.ts │ │ ├── modern-app-env.d.ts │ │ └── routes │ │ │ ├── index.css │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── tsconfig.spec.json ├── modernjs │ ├── .browserslistrc │ ├── .eslintrc.js │ ├── .eslintrc.json │ ├── .gitignore │ ├── .husky │ │ └── pre-commit │ ├── .npmrc │ ├── .nvmrc │ ├── .prettierrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── CHANGELOG.md │ ├── README.md │ ├── cypress.config.ts │ ├── cypress │ │ ├── e2e │ │ │ └── app.cy.ts │ │ ├── fixtures │ │ │ └── example.json │ │ ├── support │ │ │ ├── app.po.ts │ │ │ ├── commands.ts │ │ │ └── e2e.ts │ │ └── tsconfig.json │ ├── jest.config.ts │ ├── modern.config.ts │ ├── package.json │ ├── project.json │ ├── runtimePlugin.ts │ ├── src │ │ ├── .eslintrc.js │ │ ├── components │ │ │ ├── react-component.prefetch.ts │ │ │ └── react-component.tsx │ │ ├── modern-app-env.d.ts │ │ ├── routes │ │ │ ├── index.css │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ │ └── test.ts │ ├── tsconfig.app.json │ ├── tsconfig.json │ └── tsconfig.spec.json ├── next-app-router │ ├── README.md │ ├── next-app-router-4000 │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── .npmrc │ │ ├── .prettierignore │ │ ├── app │ │ │ ├── api │ │ │ │ ├── categories │ │ │ │ │ ├── category.d.ts │ │ │ │ │ └── getCategories.ts │ │ │ │ ├── og │ │ │ │ │ ├── Inter-SemiBold.ttf │ │ │ │ │ └── route.tsx │ │ │ │ ├── products │ │ │ │ │ └── product.d.ts │ │ │ │ ├── revalidate │ │ │ │ │ └── route.ts │ │ │ │ └── reviews │ │ │ │ │ ├── getReviews.ts │ │ │ │ │ └── review.d.ts │ │ │ ├── context │ │ │ │ ├── [categorySlug] │ │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── page.tsx │ │ │ │ ├── context-click-counter.tsx │ │ │ │ ├── counter-context.tsx │ │ │ │ ├── layout.tsx │ │ │ │ └── page.tsx │ │ │ ├── error-handling │ │ │ │ ├── [categorySlug] │ │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ │ ├── error.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── error.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── template.tsx │ │ │ │ ├── error.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── favicon.ico │ │ │ ├── hooks │ │ │ │ ├── [categorySlug] │ │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── template.tsx │ │ │ │ ├── _components │ │ │ │ │ ├── router-context-layout.tsx │ │ │ │ │ └── router-context.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── isr │ │ │ │ ├── [id] │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── loading.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── layout.tsx │ │ │ ├── layouts │ │ │ │ ├── [categorySlug] │ │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── template.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── loading │ │ │ │ ├── [categorySlug] │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── loading.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── not-found.tsx │ │ │ ├── not-found │ │ │ │ ├── [categorySlug] │ │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ │ ├── not-found.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── not-found.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── template.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── not-found.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── page.tsx │ │ │ ├── parallel-routes │ │ │ │ ├── @audience │ │ │ │ │ ├── default.tsx │ │ │ │ │ ├── demographics │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── subscribers │ │ │ │ │ │ └── page.tsx │ │ │ │ ├── @views │ │ │ │ │ ├── default.tsx │ │ │ │ │ ├── impressions │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── view-duration │ │ │ │ │ │ └── page.tsx │ │ │ │ ├── _ui │ │ │ │ │ └── current-route.tsx │ │ │ │ ├── default.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── not-found.tsx │ │ │ │ └── page.tsx │ │ │ ├── patterns │ │ │ │ ├── active-links │ │ │ │ │ ├── _components │ │ │ │ │ │ └── nav-links.tsx │ │ │ │ │ ├── community │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ ├── profile │ │ │ │ │ │ └── page.tsx │ │ │ │ │ └── settings │ │ │ │ │ │ └── page.tsx │ │ │ │ ├── breadcrumbs │ │ │ │ │ ├── @slot │ │ │ │ │ │ ├── [...all] │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── [categorySlug] │ │ │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── _components │ │ │ │ │ │ └── breadcrumbs.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── search-params │ │ │ │ │ ├── active-link.tsx │ │ │ │ │ ├── client.tsx │ │ │ │ │ └── page.tsx │ │ │ ├── route-groups │ │ │ │ ├── (checkout) │ │ │ │ │ ├── checkout │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── template.tsx │ │ │ │ ├── (main) │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── template.tsx │ │ │ │ ├── (marketing) │ │ │ │ │ ├── blog │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── template.tsx │ │ │ │ ├── (shop) │ │ │ │ │ ├── [categorySlug] │ │ │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ │ ├── layout.tsx │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ └── template.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── template.tsx │ │ │ │ └── layout.tsx │ │ │ ├── ssg │ │ │ │ ├── [id] │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── loading.tsx │ │ │ │ ├── page.tsx │ │ │ │ ├── random-post-tab.tsx │ │ │ │ └── template.tsx │ │ │ ├── ssr │ │ │ │ ├── [id] │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── loading.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── streaming │ │ │ │ ├── _components │ │ │ │ │ ├── add-to-cart.tsx │ │ │ │ │ ├── cart-count-context.tsx │ │ │ │ │ ├── cart-count.tsx │ │ │ │ │ ├── header.tsx │ │ │ │ │ ├── pricing.tsx │ │ │ │ │ ├── recommended-products.tsx │ │ │ │ │ ├── reviews.tsx │ │ │ │ │ └── single-product.tsx │ │ │ │ ├── edge │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── product │ │ │ │ │ │ └── [id] │ │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── node │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── product │ │ │ │ │ │ └── [id] │ │ │ │ │ │ └── page.tsx │ │ │ │ └── page.tsx │ │ │ └── styling │ │ │ │ ├── css-modules │ │ │ │ ├── page.tsx │ │ │ │ └── styles.module.css │ │ │ │ ├── global-css │ │ │ │ ├── page.tsx │ │ │ │ └── styles.css │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ ├── styled-components │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── registry.tsx │ │ │ │ ├── styled-jsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── registry.tsx │ │ │ │ ├── tailwind │ │ │ │ └── page.tsx │ │ │ │ └── template.tsx │ │ ├── lib │ │ │ └── demos.ts │ │ ├── next-env.d.ts │ │ ├── next.config.js │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── postcss.config.js │ │ ├── prettier.config.js │ │ ├── project.json │ │ ├── public │ │ │ ├── alexander-andrews-brAkTCdnhW8-unsplash.jpg │ │ │ ├── eniko-kis-KsLPTsYaqIQ-unsplash.jpg │ │ │ ├── grid.svg │ │ │ ├── guillaume-coupy-6HuoHgK7FN8-unsplash.jpg │ │ │ ├── nextjs-icon-light-background.png │ │ │ ├── patrick-OIFgeLnjwrM-unsplash.jpg │ │ │ ├── prince-akachi-LWkFHEGpleE-unsplash.jpg │ │ │ └── yoann-siloine-_T4w3JDm6ug-unsplash.jpg │ │ ├── readme.md │ │ ├── styles │ │ │ └── globals.css │ │ ├── tailwind.config.ts │ │ ├── tsconfig.json │ │ └── ui │ │ │ ├── address-bar.tsx │ │ │ ├── boundary.tsx │ │ │ ├── buggy-button.tsx │ │ │ ├── button.tsx │ │ │ ├── byline.tsx │ │ │ ├── click-counter.tsx │ │ │ ├── component-tree.tsx │ │ │ ├── count-up.tsx │ │ │ ├── external-link.tsx │ │ │ ├── footer.tsx │ │ │ ├── global-nav.tsx │ │ │ ├── header.tsx │ │ │ ├── mobile-nav-toggle.tsx │ │ │ ├── next-logo.tsx │ │ │ ├── ping.tsx │ │ │ ├── product-best-seller.tsx │ │ │ ├── product-card.tsx │ │ │ ├── product-currency-symbol.tsx │ │ │ ├── product-deal.tsx │ │ │ ├── product-estimated-arrival.tsx │ │ │ ├── product-lightening-deal.tsx │ │ │ ├── product-low-stock-warning.tsx │ │ │ ├── product-price.tsx │ │ │ ├── product-rating.tsx │ │ │ ├── product-review-card.tsx │ │ │ ├── product-split-payments.tsx │ │ │ ├── product-used-price.tsx │ │ │ ├── rendered-time-ago.tsx │ │ │ ├── rendering-info.tsx │ │ │ ├── rendering-page-skeleton.tsx │ │ │ ├── section-link.tsx │ │ │ ├── skeleton-card.tsx │ │ │ ├── tab-group.tsx │ │ │ ├── tab-nav-item.tsx │ │ │ ├── tab.tsx │ │ │ └── vercel-logo.tsx │ └── next-app-router-4001 │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── .npmrc │ │ ├── .prettierignore │ │ ├── app │ │ ├── api │ │ │ ├── categories │ │ │ │ ├── category.d.ts │ │ │ │ └── getCategories.ts │ │ │ ├── og │ │ │ │ ├── Inter-SemiBold.ttf │ │ │ │ └── route.tsx │ │ │ ├── products │ │ │ │ └── product.d.ts │ │ │ ├── revalidate │ │ │ │ └── route.ts │ │ │ └── reviews │ │ │ │ ├── getReviews.ts │ │ │ │ └── review.d.ts │ │ ├── context │ │ │ ├── [categorySlug] │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ └── page.tsx │ │ │ ├── context-click-counter.tsx │ │ │ ├── counter-context.tsx │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ │ ├── demo │ │ │ └── page.tsx │ │ ├── error-handling │ │ │ ├── [categorySlug] │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ ├── error.tsx │ │ │ │ │ └── page.tsx │ │ │ │ ├── error.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── error.tsx │ │ │ ├── layout.tsx │ │ │ ├── page.tsx │ │ │ └── template.tsx │ │ ├── favicon.ico │ │ ├── hooks │ │ │ ├── [categorySlug] │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── _components │ │ │ │ ├── router-context-layout.tsx │ │ │ │ └── router-context.tsx │ │ │ ├── layout.tsx │ │ │ ├── page.tsx │ │ │ └── template.tsx │ │ ├── isr │ │ │ ├── [id] │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ ├── loading.tsx │ │ │ ├── page.tsx │ │ │ └── template.tsx │ │ ├── layout.tsx │ │ ├── layouts │ │ │ ├── [categorySlug] │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── layout.tsx │ │ │ ├── page.tsx │ │ │ └── template.tsx │ │ ├── loading │ │ │ ├── [categorySlug] │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ ├── loading.tsx │ │ │ ├── page.tsx │ │ │ └── template.tsx │ │ ├── not-found.tsx │ │ ├── not-found │ │ │ ├── [categorySlug] │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ ├── not-found.tsx │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── not-found.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── layout.tsx │ │ │ ├── not-found.tsx │ │ │ ├── page.tsx │ │ │ └── template.tsx │ │ ├── page.tsx │ │ ├── parallel-routes │ │ │ ├── @audience │ │ │ │ ├── default.tsx │ │ │ │ ├── demographics │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── subscribers │ │ │ │ │ └── page.tsx │ │ │ ├── @views │ │ │ │ ├── default.tsx │ │ │ │ ├── impressions │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── view-duration │ │ │ │ │ └── page.tsx │ │ │ ├── _ui │ │ │ │ └── current-route.tsx │ │ │ ├── default.tsx │ │ │ ├── layout.tsx │ │ │ ├── not-found.tsx │ │ │ └── page.tsx │ │ ├── patterns │ │ │ ├── active-links │ │ │ │ ├── _components │ │ │ │ │ └── nav-links.tsx │ │ │ │ ├── community │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ ├── profile │ │ │ │ │ └── page.tsx │ │ │ │ └── settings │ │ │ │ │ └── page.tsx │ │ │ ├── breadcrumbs │ │ │ │ ├── @slot │ │ │ │ │ ├── [...all] │ │ │ │ │ │ └── page.tsx │ │ │ │ │ └── page.tsx │ │ │ │ ├── [categorySlug] │ │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── page.tsx │ │ │ │ ├── _components │ │ │ │ │ └── breadcrumbs.tsx │ │ │ │ ├── layout.tsx │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ ├── page.tsx │ │ │ └── search-params │ │ │ │ ├── active-link.tsx │ │ │ │ ├── client.tsx │ │ │ │ └── page.tsx │ │ ├── route-groups │ │ │ ├── (checkout) │ │ │ │ ├── checkout │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ └── template.tsx │ │ │ ├── (main) │ │ │ │ ├── layout.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── template.tsx │ │ │ ├── (marketing) │ │ │ │ ├── blog │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ └── template.tsx │ │ │ ├── (shop) │ │ │ │ ├── [categorySlug] │ │ │ │ │ ├── [subCategorySlug] │ │ │ │ │ │ └── page.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── template.tsx │ │ │ │ ├── layout.tsx │ │ │ │ └── template.tsx │ │ │ └── layout.tsx │ │ ├── ssg │ │ │ ├── [id] │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ ├── loading.tsx │ │ │ ├── page.tsx │ │ │ ├── random-post-tab.tsx │ │ │ └── template.tsx │ │ ├── ssr │ │ │ ├── [id] │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ ├── loading.tsx │ │ │ ├── page.tsx │ │ │ └── template.tsx │ │ ├── streaming │ │ │ ├── _components │ │ │ │ ├── add-to-cart.tsx │ │ │ │ ├── cart-count-context.tsx │ │ │ │ ├── cart-count.tsx │ │ │ │ ├── header.tsx │ │ │ │ ├── pricing.tsx │ │ │ │ ├── recommended-products.tsx │ │ │ │ ├── reviews.tsx │ │ │ │ └── single-product.tsx │ │ │ ├── edge │ │ │ │ ├── layout.tsx │ │ │ │ └── product │ │ │ │ │ └── [id] │ │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ ├── node │ │ │ │ ├── layout.tsx │ │ │ │ └── product │ │ │ │ │ └── [id] │ │ │ │ │ └── page.tsx │ │ │ └── page.tsx │ │ └── styling │ │ │ ├── css-modules │ │ │ ├── page.tsx │ │ │ └── styles.module.css │ │ │ ├── global-css │ │ │ ├── page.tsx │ │ │ └── styles.css │ │ │ ├── layout.tsx │ │ │ ├── page.tsx │ │ │ ├── styled-components │ │ │ ├── layout.tsx │ │ │ ├── page.tsx │ │ │ └── registry.tsx │ │ │ ├── styled-jsx │ │ │ ├── layout.tsx │ │ │ ├── page.tsx │ │ │ └── registry.tsx │ │ │ ├── tailwind │ │ │ └── page.tsx │ │ │ └── template.tsx │ │ ├── lib │ │ └── demos.ts │ │ ├── license.md │ │ ├── next-env.d.ts │ │ ├── next.config.js │ │ ├── package.json │ │ ├── pnpm-lock.yaml │ │ ├── postcss.config.js │ │ ├── prettier.config.js │ │ ├── project.json │ │ ├── public │ │ ├── alexander-andrews-brAkTCdnhW8-unsplash.jpg │ │ ├── eniko-kis-KsLPTsYaqIQ-unsplash.jpg │ │ ├── grid.svg │ │ ├── guillaume-coupy-6HuoHgK7FN8-unsplash.jpg │ │ ├── nextjs-icon-light-background.png │ │ ├── patrick-OIFgeLnjwrM-unsplash.jpg │ │ ├── prince-akachi-LWkFHEGpleE-unsplash.jpg │ │ └── yoann-siloine-_T4w3JDm6ug-unsplash.jpg │ │ ├── readme.md │ │ ├── styles │ │ └── globals.css │ │ ├── tailwind.config.ts │ │ ├── tsconfig.json │ │ └── ui │ │ ├── address-bar.tsx │ │ ├── boundary.tsx │ │ ├── buggy-button.tsx │ │ ├── button.tsx │ │ ├── byline.tsx │ │ ├── click-counter.tsx │ │ ├── component-tree.tsx │ │ ├── count-up.tsx │ │ ├── external-link.tsx │ │ ├── footer.tsx │ │ ├── global-nav.tsx │ │ ├── header.tsx │ │ ├── mobile-nav-toggle.tsx │ │ ├── next-logo.tsx │ │ ├── ping.tsx │ │ ├── product-best-seller.tsx │ │ ├── product-card.tsx │ │ ├── product-currency-symbol.tsx │ │ ├── product-deal.tsx │ │ ├── product-estimated-arrival.tsx │ │ ├── product-lightening-deal.tsx │ │ ├── product-low-stock-warning.tsx │ │ ├── product-price.tsx │ │ ├── product-rating.tsx │ │ ├── product-review-card.tsx │ │ ├── product-split-payments.tsx │ │ ├── product-used-price.tsx │ │ ├── rendered-time-ago.tsx │ │ ├── rendering-info.tsx │ │ ├── rendering-page-skeleton.tsx │ │ ├── section-link.tsx │ │ ├── skeleton-card.tsx │ │ ├── tab-group.tsx │ │ ├── tab-nav-item.tsx │ │ ├── tab.tsx │ │ └── vercel-logo.tsx ├── node-dynamic-remote-new-version │ ├── .babelrc │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── expose-with-axios.js │ │ ├── expose-with-lodash.js │ │ ├── expose.js │ │ ├── index.html │ │ └── main.tsx │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ └── webpack.config.js ├── node-dynamic-remote │ ├── .babelrc │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── expose-with-axios.js │ │ ├── expose-with-lodash.js │ │ ├── expose.js │ │ ├── index.html │ │ └── main.tsx │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ └── webpack.config.js ├── node-host-e2e │ ├── .eslintrc.json │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── node-host │ │ │ └── node-host.spec.ts │ │ └── support │ │ │ ├── global-setup.ts │ │ │ ├── global-teardown.ts │ │ │ └── test-setup.ts │ ├── tsconfig.json │ └── tsconfig.spec.json ├── node-host │ ├── .eslintrc.json │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── runtimePlugin.ts │ ├── src │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── bootstrap.js │ │ └── main.js │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ └── webpack.config.js ├── node-local-remote │ ├── .babelrc │ ├── .eslintrc.json │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── expose.js │ │ ├── index.html │ │ └── main.tsx │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ └── webpack.config.js ├── node-remote │ ├── .babelrc │ ├── .eslintrc.json │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── bootstrap.js │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── expose.js │ │ ├── index.html │ │ ├── main.js │ │ └── main.tsx │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ └── webpack.config.js ├── react-ts-host │ ├── .babelrc │ ├── .browserslistrc │ ├── .eslintrc.json │ ├── package.json │ ├── project.json │ ├── src │ │ ├── app │ │ │ ├── App.tsx │ │ │ ├── nx-welcome.tsx │ │ │ └── useDynamicRemote.tsx │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── bootstrap.tsx │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── main.ts │ │ └── polyfills.ts │ ├── tsconfig.app.json │ ├── tsconfig.json │ └── webpack.config.js ├── react-ts-nested-remote │ ├── .babelrc │ ├── .browserslistrc │ ├── .eslintrc.json │ ├── package.json │ ├── project.json │ ├── src │ │ ├── app │ │ │ ├── App.module.css │ │ │ ├── App.tsx │ │ │ ├── nx-welcome.tsx │ │ │ └── utils.ts │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── bootstrap.tsx │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── main.ts │ │ ├── polyfills.ts │ │ ├── remote-entry.ts │ │ └── styles.css │ ├── tsconfig.app.json │ ├── tsconfig.json │ └── webpack.config.js ├── react-ts-remote │ ├── .babelrc │ ├── .browserslistrc │ ├── .eslintrc.json │ ├── package.json │ ├── project.json │ ├── rspack.config.js │ ├── src │ │ ├── app │ │ │ ├── App.module.css │ │ │ ├── App.tsx │ │ │ └── nx-welcome.tsx │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── bootstrap.tsx │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── main.ts │ │ ├── polyfills.ts │ │ ├── remote-entry.ts │ │ └── styles.css │ ├── tsconfig.app.json │ ├── tsconfig.json │ └── webpack.config.js ├── reactRemoteUI │ ├── .babelrc │ ├── .eslintrc.json │ ├── jest.config.ts │ ├── module-federation.config.js │ ├── package.json │ ├── project.json │ ├── src │ │ ├── Button │ │ │ ├── Button.module.css │ │ │ ├── Button.tsx │ │ │ └── index.ts │ │ ├── bootstrap.tsx │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── main.ts │ │ └── styles.scss │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ ├── webpack.config.js │ └── webpack.config.prod.js ├── reactStorybook │ ├── .babelrc │ ├── .eslintrc.json │ ├── .storybook │ │ ├── main.js │ │ └── preview.js │ ├── jest.config.ts │ ├── module-federation.config.js │ ├── package.json │ ├── project.json │ ├── src │ │ ├── app │ │ │ ├── RemoteButton.stories.tsx │ │ │ ├── app.module.scss │ │ │ ├── app.spec.tsx │ │ │ ├── app.tsx │ │ │ └── nx-welcome.tsx │ │ ├── assets │ │ │ └── .gitkeep │ │ ├── bootstrap.tsx │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── main.ts │ │ ├── remotes.d.ts │ │ └── styles.scss │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ ├── tsconfig.storybook.json │ ├── webpack.config.js │ └── webpack.config.prod.js ├── router-demo │ ├── README.md │ ├── router-host-2000 │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── cypress.config.ts │ │ ├── cypress │ │ │ ├── e2e │ │ │ │ ├── host.cy.ts │ │ │ │ ├── memory-router.cy.ts │ │ │ │ ├── remote-render-error.cy.ts │ │ │ │ ├── remote-resource-error.cy.ts │ │ │ │ ├── remote1.cy.ts │ │ │ │ ├── remote2.cy.ts │ │ │ │ ├── remote3.cy.ts │ │ │ │ └── remote5.cy.ts │ │ │ ├── fixtures │ │ │ │ └── example.json │ │ │ ├── support │ │ │ │ ├── app.po.ts │ │ │ │ ├── commands.ts │ │ │ │ └── e2e.ts │ │ │ └── tsconfig.json │ │ ├── package.json │ │ ├── postcss.config.cjs │ │ ├── project.json │ │ ├── rsbuild.config.ts │ │ ├── src │ │ │ ├── App.css │ │ │ ├── App.tsx │ │ │ ├── bootstrap.tsx │ │ │ ├── env.d.ts │ │ │ ├── index.css │ │ │ ├── index.tsx │ │ │ ├── navigation.tsx │ │ │ ├── pages │ │ │ │ ├── Detail.tsx │ │ │ │ ├── Home.tsx │ │ │ │ └── Remote1.tsx │ │ │ └── runtime-plugin │ │ │ │ ├── error-handling │ │ │ │ ├── index.ts │ │ │ │ ├── lifecycle-based.ts │ │ │ │ └── simple.ts │ │ │ │ ├── fallback.ts │ │ │ │ ├── retry.ts │ │ │ │ └── shared-strategy.ts │ │ ├── tailwind.config.js │ │ └── tsconfig.json │ ├── router-host-v5-2200 │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── postcss.config.cjs │ │ ├── project.json │ │ ├── rsbuild.config.ts │ │ ├── src │ │ │ ├── App.css │ │ │ ├── App.tsx │ │ │ ├── bootstrap.tsx │ │ │ ├── env.d.ts │ │ │ ├── index.css │ │ │ ├── index.tsx │ │ │ ├── navigation.tsx │ │ │ ├── pages │ │ │ │ ├── Detail.tsx │ │ │ │ ├── Home.tsx │ │ │ │ └── Remote1.tsx │ │ │ └── runtime-plugin │ │ │ │ └── shared-strategy.ts │ │ ├── tailwind.config.js │ │ └── tsconfig.json │ ├── router-host-vue3-2100 │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── project.json │ │ ├── rsbuild.config.ts │ │ ├── src │ │ │ ├── App.vue │ │ │ ├── bootstrap.ts │ │ │ ├── env.d.ts │ │ │ ├── index.css │ │ │ ├── index.ts │ │ │ ├── pages │ │ │ │ ├── Detail.vue │ │ │ │ └── Home.vue │ │ │ └── router.ts │ │ └── tsconfig.json │ ├── router-remote1-2001 │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── project.json │ │ ├── rsbuild.config.ts │ │ ├── src │ │ │ ├── App.module.css │ │ │ ├── App.tsx │ │ │ ├── bootstrap.tsx │ │ │ ├── button.tsx │ │ │ ├── env.d.ts │ │ │ ├── export-App.tsx │ │ │ ├── export-Button.tsx │ │ │ ├── index.tsx │ │ │ └── shadow.tsx │ │ └── tsconfig.json │ ├── router-remote2-2002 │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── project.json │ │ ├── rsbuild.config.ts │ │ ├── src │ │ │ ├── App.css │ │ │ ├── App.tsx │ │ │ ├── bootstrap.tsx │ │ │ ├── button.tsx │ │ │ ├── env.d.ts │ │ │ ├── export-App.tsx │ │ │ └── index.tsx │ │ └── tsconfig.json │ ├── router-remote3-2003 │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── project.json │ │ ├── rsbuild.config.ts │ │ ├── src │ │ │ ├── App.vue │ │ │ ├── bootstrap.ts │ │ │ ├── env.d.ts │ │ │ ├── export-app.ts │ │ │ ├── index.css │ │ │ ├── index.ts │ │ │ ├── pages │ │ │ │ ├── Detail.vue │ │ │ │ └── Home.vue │ │ │ └── router.ts │ │ └── tsconfig.json │ ├── router-remote4-2004 │ │ ├── CHANGELOG.md │ │ ├── package.json │ │ ├── project.json │ │ ├── rsbuild.config.ts │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── bootstrap.tsx │ │ │ ├── env.d.ts │ │ │ ├── export-App.tsx │ │ │ └── index.tsx │ │ └── tsconfig.json │ └── router-remote5-2005 │ │ ├── CHANGELOG.md │ │ ├── package.json │ │ ├── project.json │ │ ├── rsbuild.config.ts │ │ ├── src │ │ ├── App.tsx │ │ ├── bootstrap.tsx │ │ ├── env.d.ts │ │ ├── export-App.tsx │ │ └── index.tsx │ │ └── tsconfig.json ├── rslib-module │ ├── .storybook │ │ └── main.ts │ ├── @mf-types │ │ ├── index.d.ts │ │ └── rslib-module │ │ │ ├── apis.d.ts │ │ │ ├── compiled-types │ │ │ ├── CounterButton.d.ts │ │ │ ├── index.d.ts │ │ │ └── useCounter.d.ts │ │ │ └── index.d.ts │ ├── README.md │ ├── package.json │ ├── project.json │ ├── rslib.config.ts │ ├── src │ │ ├── CounterButton.tsx │ │ ├── index.tsx │ │ ├── stories │ │ │ └── index.stories.tsx │ │ └── useCounter.tsx │ └── tsconfig.json ├── runtime-demo │ ├── 3005-runtime-host │ │ ├── .babelrc │ │ ├── @mf-types │ │ │ ├── index.d.ts │ │ │ └── remote1 │ │ │ │ ├── WebpackPng.d.ts │ │ │ │ ├── WebpackSvg.d.ts │ │ │ │ ├── apis.d.ts │ │ │ │ ├── compiled-types │ │ │ │ └── apps │ │ │ │ │ └── runtime-demo │ │ │ │ │ └── 3006-runtime-remote │ │ │ │ │ └── src │ │ │ │ │ └── components │ │ │ │ │ ├── WebpackPng.d.ts │ │ │ │ │ ├── WebpackSvg.d.ts │ │ │ │ │ └── useCustomRemoteHook.d.ts │ │ │ │ └── useCustomRemoteHook.d.ts │ │ ├── cypress.config.ts │ │ ├── cypress │ │ │ ├── e2e │ │ │ │ └── app.cy.ts │ │ │ ├── fixtures │ │ │ │ └── example.json │ │ │ ├── support │ │ │ │ ├── app.po.ts │ │ │ │ ├── commands.ts │ │ │ │ └── e2e.ts │ │ │ └── tsconfig.json │ │ ├── package.json │ │ ├── project.json │ │ ├── remotes.d.ts │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── Button.tsx │ │ │ ├── Remote1.tsx │ │ │ ├── Remote2.tsx │ │ │ ├── Root.tsx │ │ │ ├── bootstrap.tsx │ │ │ ├── components │ │ │ │ ├── ButtonOldAnt.tsx │ │ │ │ ├── stuff.module.css │ │ │ │ └── stuff.module.css.d.ts │ │ │ ├── index.html │ │ │ ├── index.ts │ │ │ ├── runtimePlugin.ts │ │ │ ├── test-remote-hook.tsx │ │ │ ├── webpack.png │ │ │ └── webpack.svg │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── webpack.config.js │ ├── 3006-runtime-remote │ │ ├── .babelrc │ │ ├── CHANGELOG.md │ │ ├── package.json │ │ ├── project.json │ │ ├── public │ │ │ ├── .gitkeep │ │ │ ├── webpack.png │ │ │ └── webpack.svg │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── Button.tsx │ │ │ ├── components │ │ │ │ ├── WebpackPng.tsx │ │ │ │ ├── WebpackSvg.tsx │ │ │ │ ├── a.css │ │ │ │ └── useCustomRemoteHook.tsx │ │ │ ├── index.html │ │ │ └── index.tsx │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── webpack.config.js │ ├── 3007-runtime-remote │ │ ├── .babelrc │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── Button.tsx │ │ │ ├── components │ │ │ │ ├── ButtonOldAnt.tsx │ │ │ │ ├── stuff.module.css │ │ │ │ └── stuff.module.css.d.ts │ │ │ ├── index.html │ │ │ └── index.tsx │ │ ├── tsconfig.app.json │ │ ├── tsconfig.json │ │ └── webpack.config.js │ ├── 3008-runtime-remote │ │ ├── CHANGELOG.md │ │ ├── package.json │ │ ├── project.json │ │ ├── rsbuild.config.mjs │ │ └── src │ │ │ ├── App.css │ │ │ ├── App.jsx │ │ │ ├── Button.tsx │ │ │ ├── bootstrap.jsx │ │ │ └── index.jsx │ └── README.md ├── website-new │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── docs │ │ ├── en │ │ │ ├── _meta.json │ │ │ ├── blog │ │ │ │ ├── _meta.json │ │ │ │ ├── announcement.mdx │ │ │ │ ├── error-load-remote.mdx │ │ │ │ ├── hoisted-runtime.mdx │ │ │ │ └── index.mdx │ │ │ ├── configure │ │ │ │ ├── _meta.json │ │ │ │ ├── dev.mdx │ │ │ │ ├── dts.mdx │ │ │ │ ├── experiments.mdx │ │ │ │ ├── exposes.mdx │ │ │ │ ├── filename.mdx │ │ │ │ ├── getpublicpath.mdx │ │ │ │ ├── implementation.mdx │ │ │ │ ├── index.mdx │ │ │ │ ├── manifest.mdx │ │ │ │ ├── name.mdx │ │ │ │ ├── remotes.mdx │ │ │ │ ├── runtimeplugins.mdx │ │ │ │ ├── shareStrategy.mdx │ │ │ │ └── shared.mdx │ │ │ ├── guide │ │ │ │ ├── _meta.json │ │ │ │ ├── basic │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── cli.mdx │ │ │ │ │ ├── rsbuild.mdx │ │ │ │ │ ├── rspack.mdx │ │ │ │ │ ├── runtime.mdx │ │ │ │ │ ├── type-prompt.mdx │ │ │ │ │ ├── vite.mdx │ │ │ │ │ └── webpack.mdx │ │ │ │ ├── debug │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── chrome-devtool.mdx │ │ │ │ │ ├── mode.mdx │ │ │ │ │ └── variables.mdx │ │ │ │ ├── framework │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── modernjs.mdx │ │ │ │ │ └── nextjs.mdx │ │ │ │ ├── start │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── features.mdx │ │ │ │ │ ├── glossary.mdx │ │ │ │ │ ├── index.mdx │ │ │ │ │ ├── npm-packages.mdx │ │ │ │ │ ├── quick-start.mdx │ │ │ │ │ └── setting-up-env.mdx │ │ │ │ └── troubleshooting │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── build │ │ │ │ │ └── BUILD-001.mdx │ │ │ │ │ ├── other.mdx │ │ │ │ │ ├── overview.md │ │ │ │ │ ├── runtime │ │ │ │ │ ├── RUNTIME-001.mdx │ │ │ │ │ ├── RUNTIME-002.mdx │ │ │ │ │ ├── RUNTIME-003.mdx │ │ │ │ │ ├── RUNTIME-004.mdx │ │ │ │ │ ├── RUNTIME-005.mdx │ │ │ │ │ ├── RUNTIME-006.mdx │ │ │ │ │ ├── RUNTIME-007.mdx │ │ │ │ │ └── RUNTIME-008.mdx │ │ │ │ │ └── type │ │ │ │ │ ├── TYPE-001.mdx │ │ │ │ │ ├── _meta.json │ │ │ │ │ └── overview.md │ │ │ ├── index.md │ │ │ ├── plugin │ │ │ │ ├── _meta.json │ │ │ │ ├── dev │ │ │ │ │ ├── _meta.json │ │ │ │ │ └── index.mdx │ │ │ │ └── plugins │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── index.mdx │ │ │ │ │ └── retry-plugin.mdx │ │ │ ├── practice │ │ │ │ ├── _meta.json │ │ │ │ ├── bridge │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── index.mdx │ │ │ │ │ ├── react-bridge.mdx │ │ │ │ │ └── vue-bridge.mdx │ │ │ │ ├── frameworks │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── angular │ │ │ │ │ │ ├── _meta.json │ │ │ │ │ │ ├── angular-cli.mdx │ │ │ │ │ │ ├── angular-mfe.mdx │ │ │ │ │ │ ├── auth0.mdx │ │ │ │ │ │ ├── mf-ssr-angular.mdx │ │ │ │ │ │ ├── okta-auth.mdx │ │ │ │ │ │ ├── service-workers-mf.mdx │ │ │ │ │ │ ├── splitting-to-mf-part1.mdx │ │ │ │ │ │ ├── splitting-to-mf-part2.mdx │ │ │ │ │ │ └── using-nx-for-angular.mdx │ │ │ │ │ ├── index.mdx │ │ │ │ │ ├── modern │ │ │ │ │ │ ├── _meta.json │ │ │ │ │ │ ├── dynamic-remote.mdx │ │ │ │ │ │ └── index.mdx │ │ │ │ │ ├── next │ │ │ │ │ │ ├── _meta.json │ │ │ │ │ │ ├── dynamic-remotes.mdx │ │ │ │ │ │ ├── express.mdx │ │ │ │ │ │ ├── importing-components.mdx │ │ │ │ │ │ ├── importing-pages.mdx │ │ │ │ │ │ ├── index.mdx │ │ │ │ │ │ └── presets.mdx │ │ │ │ │ └── react │ │ │ │ │ │ ├── _meta.json │ │ │ │ │ │ ├── i18n-react.mdx │ │ │ │ │ │ ├── index.mdx │ │ │ │ │ │ └── using-nx-for-react.mdx │ │ │ │ ├── monorepos │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── index.mdx │ │ │ │ │ └── nx-for-module-federation.mdx │ │ │ │ ├── overview.md │ │ │ │ ├── performance │ │ │ │ │ ├── _meta.json │ │ │ │ │ └── prefetch.mdx │ │ │ │ └── scenario │ │ │ │ │ └── index.md │ │ │ └── showcase │ │ │ │ ├── _meta.json │ │ │ │ └── index.mdx │ │ ├── public │ │ │ ├── blog │ │ │ │ └── announcement │ │ │ │ │ ├── announcement-video-poster.png │ │ │ │ │ └── module-federation-doc.png │ │ │ ├── guide │ │ │ │ ├── chrome-devtools │ │ │ │ │ ├── chrome-store-add-devtool.png │ │ │ │ │ ├── dev-to-proxy.png │ │ │ │ │ ├── features.png │ │ │ │ │ ├── mf-devtool-hmr.jpg │ │ │ │ │ ├── open-devtools.png │ │ │ │ │ ├── opereation-guide.png │ │ │ │ │ ├── proxy-to-local.png │ │ │ │ │ └── split-window.png │ │ │ │ ├── performance │ │ │ │ │ └── data-prefetch │ │ │ │ │ │ ├── advanced-prefetch.jpg │ │ │ │ │ │ ├── common.jpg │ │ │ │ │ │ ├── log.jpg │ │ │ │ │ │ └── prefetch.jpg │ │ │ │ └── type-prompt │ │ │ │ │ ├── dynamic-remote-hot-types-reload-static.gif │ │ │ │ │ ├── hot-types-reload-static.gif │ │ │ │ │ ├── hot-types-reload.gif │ │ │ │ │ ├── nested-remote.jpg │ │ │ │ │ └── third-party.jpg │ │ │ ├── module-federation-2.0.svg │ │ │ ├── module-federation-logo-white-2.0.svg │ │ │ ├── module-federation-logo-white.svg │ │ │ ├── module-federation-logo.svg │ │ │ ├── module-federation.svg │ │ │ ├── rspress-dark-logo.png │ │ │ ├── rspress-icon.png │ │ │ ├── rspress-light-logo.png │ │ │ ├── showcase │ │ │ │ ├── adidas.png │ │ │ │ ├── bestbuy.png │ │ │ │ ├── business_insider.png │ │ │ │ ├── epic_games.png │ │ │ │ ├── lululemon.png │ │ │ │ ├── panda_doc.png │ │ │ │ ├── shopify_partners.png │ │ │ │ ├── tiktok.png │ │ │ │ └── zoominfo.png │ │ │ ├── svg.svg │ │ │ ├── svg2.svg │ │ │ └── words-map.json │ │ └── zh │ │ │ ├── _meta.json │ │ │ ├── blog │ │ │ ├── _meta.json │ │ │ ├── announcement.mdx │ │ │ ├── error-load-remote.mdx │ │ │ └── index.mdx │ │ │ ├── configure │ │ │ ├── _meta.json │ │ │ ├── dev.mdx │ │ │ ├── dts.mdx │ │ │ ├── experiments.mdx │ │ │ ├── exposes.mdx │ │ │ ├── filename.mdx │ │ │ ├── getpublicpath.mdx │ │ │ ├── implementation.mdx │ │ │ ├── index.mdx │ │ │ ├── manifest.mdx │ │ │ ├── name.mdx │ │ │ ├── remotes.mdx │ │ │ ├── runtimeplugins.mdx │ │ │ ├── shareStrategy.mdx │ │ │ └── shared.mdx │ │ │ ├── guide │ │ │ ├── _meta.json │ │ │ ├── basic │ │ │ │ ├── _meta.json │ │ │ │ ├── cli.mdx │ │ │ │ ├── rsbuild.mdx │ │ │ │ ├── rspack.mdx │ │ │ │ ├── runtime.mdx │ │ │ │ ├── type-prompt.mdx │ │ │ │ ├── vite.mdx │ │ │ │ └── webpack.mdx │ │ │ ├── debug │ │ │ │ ├── _meta.json │ │ │ │ ├── chrome-devtool.mdx │ │ │ │ ├── mode.mdx │ │ │ │ └── variables.mdx │ │ │ ├── framework │ │ │ │ ├── _meta.json │ │ │ │ ├── modernjs.mdx │ │ │ │ └── nextjs.mdx │ │ │ ├── start │ │ │ │ ├── _meta.json │ │ │ │ ├── features.mdx │ │ │ │ ├── glossary.mdx │ │ │ │ ├── index.mdx │ │ │ │ ├── npm-packages.mdx │ │ │ │ ├── quick-start.mdx │ │ │ │ └── setting-up-env.mdx │ │ │ └── troubleshooting │ │ │ │ ├── _meta.json │ │ │ │ ├── build │ │ │ │ └── BUILD-001.mdx │ │ │ │ ├── other.mdx │ │ │ │ ├── overview.md │ │ │ │ ├── runtime │ │ │ │ ├── RUNTIME-001.mdx │ │ │ │ ├── RUNTIME-002.mdx │ │ │ │ ├── RUNTIME-003.mdx │ │ │ │ ├── RUNTIME-004.mdx │ │ │ │ ├── RUNTIME-005.mdx │ │ │ │ ├── RUNTIME-006.mdx │ │ │ │ ├── RUNTIME-007.mdx │ │ │ │ └── RUNTIME-008.mdx │ │ │ │ └── type │ │ │ │ ├── TYPE-001.mdx │ │ │ │ ├── _meta.json │ │ │ │ └── overview.md │ │ │ ├── index.md │ │ │ ├── plugin │ │ │ ├── _meta.json │ │ │ ├── dev │ │ │ │ ├── _meta.json │ │ │ │ ├── hooks.mdx │ │ │ │ └── index.mdx │ │ │ └── plugins │ │ │ │ ├── _meta.json │ │ │ │ └── retry-plugin.mdx │ │ │ ├── practice │ │ │ ├── _meta.json │ │ │ ├── bridge │ │ │ │ ├── _meta.json │ │ │ │ ├── index.mdx │ │ │ │ ├── react-bridge.mdx │ │ │ │ └── vue-bridge.mdx │ │ │ ├── frameworks │ │ │ │ ├── _meta.json │ │ │ │ ├── angular │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── angular-cli.mdx │ │ │ │ │ ├── angular-mfe.mdx │ │ │ │ │ ├── auth0.mdx │ │ │ │ │ ├── mf-ssr-angular.mdx │ │ │ │ │ ├── okta-auth.mdx │ │ │ │ │ ├── service-workers-mf.mdx │ │ │ │ │ ├── splitting-to-mf-part1.mdx │ │ │ │ │ └── splitting-to-mf-part2.mdx │ │ │ │ ├── index.mdx │ │ │ │ ├── modern │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── dynamic-remote.mdx │ │ │ │ │ └── index.mdx │ │ │ │ ├── next │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── dynamic-remotes.mdx │ │ │ │ │ ├── express.mdx │ │ │ │ │ ├── importing-components.mdx │ │ │ │ │ ├── importing-pages.mdx │ │ │ │ │ ├── index.mdx │ │ │ │ │ └── presets.mdx │ │ │ │ └── react │ │ │ │ │ ├── _meta.json │ │ │ │ │ ├── i18n-react.mdx │ │ │ │ │ └── index.mdx │ │ │ ├── overview.md │ │ │ ├── performance │ │ │ │ ├── _meta.json │ │ │ │ └── prefetch.mdx │ │ │ └── scenario │ │ │ │ └── index.md │ │ │ └── showcase │ │ │ ├── _meta.json │ │ │ └── index.mdx │ ├── netlify.toml │ ├── package-lock.json │ ├── package.json │ ├── project.json │ ├── rspress.config.ts │ ├── src │ │ ├── components │ │ │ ├── AnnouncementVideo.tsx │ │ │ ├── BlogGif.tsx │ │ │ ├── BlogGifGrid.tsx │ │ │ ├── Collapse.module.scss │ │ │ ├── Collapse.tsx │ │ │ ├── ErrorCodeTitle.tsx │ │ │ ├── NextSteps.module.scss │ │ │ ├── NextSteps.tsx │ │ │ ├── Overview.module.scss │ │ │ ├── Overview.tsx │ │ │ ├── ShowcaseList │ │ │ │ ├── index.module.scss │ │ │ │ ├── index.tsx │ │ │ │ └── useShowcases.ts │ │ │ ├── Step.module.scss │ │ │ ├── Step.tsx │ │ │ ├── Table.tsx │ │ │ ├── en │ │ │ │ └── EnableAsyncEntry.mdx │ │ │ └── zh │ │ │ │ └── EnableAsyncEntry.mdx │ │ ├── i18n │ │ │ ├── enUS.ts │ │ │ ├── index.ts │ │ │ └── zhCN.ts │ │ ├── moduleFederationPluginOverview.ts │ │ └── utils.ts │ ├── tailwind.config.js │ ├── theme │ │ ├── components │ │ │ ├── Contributors.tsx │ │ │ ├── HomeFeature │ │ │ │ ├── index.module.scss │ │ │ │ └── index.tsx │ │ │ ├── HomeFooter │ │ │ │ └── index.tsx │ │ │ ├── HomeHero │ │ │ │ ├── index.module.scss │ │ │ │ ├── index.tsx │ │ │ │ └── shapes.tsx │ │ │ ├── brands │ │ │ │ ├── brands.module.css │ │ │ │ └── brands.tsx │ │ │ ├── line │ │ │ │ ├── line.css │ │ │ │ └── line.tsx │ │ │ └── loader │ │ │ │ ├── loader.css │ │ │ │ └── loader.tsx │ │ ├── i18n │ │ │ ├── enUS.ts │ │ │ ├── index.ts │ │ │ └── zhCN.ts │ │ ├── index.css │ │ ├── index.tsx │ │ └── pages │ │ │ └── index.tsx │ └── tsconfig.json └── website │ ├── .eslintrc.json │ ├── .gitignore │ ├── .prettierignore │ ├── README.md │ ├── adapters │ └── netlify-edge │ │ └── vite.config.ts │ ├── manifest.override.json │ ├── package.json │ ├── postcss.config.js │ ├── project.json │ ├── public │ ├── _headers │ ├── bundlers │ │ ├── esbuild.svg │ │ ├── rollup.svg │ │ ├── rspack.svg │ │ ├── vite.svg │ │ └── webpack.svg │ ├── companies │ │ ├── adidas.svg │ │ ├── bestbuy.svg │ │ ├── box.svg │ │ ├── business_insider.svg │ │ ├── cloudflare.svg │ │ ├── epic_games.svg │ │ ├── katman.svg │ │ ├── lululemon.svg │ │ ├── openclassrooms.svg │ │ ├── pandadoc.svg │ │ ├── shopify.svg │ │ ├── tiktok.svg │ │ └── zoominfo.svg │ ├── default-og.png │ ├── favicon.svg │ ├── fonts │ │ ├── AvenirNextLTPro-Bold.otf │ │ ├── AvenirNextLTPro-BoldCn.otf │ │ ├── AvenirNextLTPro-BoldCnIt.otf │ │ ├── AvenirNextLTPro-BoldIt.otf │ │ ├── AvenirNextLTPro-Cn.otf │ │ ├── AvenirNextLTPro-CnIt.otf │ │ ├── AvenirNextLTPro-Demi.otf │ │ ├── AvenirNextLTPro-DemiCn.otf │ │ ├── AvenirNextLTPro-DemiCnIt.otf │ │ ├── AvenirNextLTPro-DemiIt.otf │ │ ├── AvenirNextLTPro-Heavy.otf │ │ ├── AvenirNextLTPro-HeavyCn.otf │ │ ├── AvenirNextLTPro-HeavyCnIt.otf │ │ ├── AvenirNextLTPro-HeavyIt.otf │ │ ├── AvenirNextLTPro-It.otf │ │ ├── AvenirNextLTPro-Medium.otf │ │ ├── AvenirNextLTPro-MediumCn.otf │ │ ├── AvenirNextLTPro-MediumCnIt.otf │ │ ├── AvenirNextLTPro-MediumIt.otf │ │ ├── AvenirNextLTPro-Regular.otf │ │ ├── AvenirNextLTPro-UltLt.otf │ │ ├── AvenirNextLTPro-UltLtCn.otf │ │ ├── AvenirNextLTPro-UltLtCnIt.otf │ │ └── AvenirNextLTPro-UltLtIt.otf │ ├── forms.html │ ├── icons │ │ ├── discord.svg │ │ └── github.svg │ ├── illustrations │ │ ├── community-content.svg │ │ ├── conference-talks.svg │ │ ├── implementing-module-federation.svg │ │ ├── module-federation-courses.svg │ │ └── pratical-module-federation.svg │ ├── manifest.json │ ├── module-federation-logo.svg │ ├── pattern_9.png │ ├── photos │ │ └── zack_jackson.png │ ├── robots.txt │ ├── showcase │ │ ├── adidas.png │ │ ├── bestbuy.png │ │ ├── business_insider.png │ │ ├── epic_games.png │ │ ├── lululemon.png │ │ ├── panda_doc.png │ │ ├── shopify_partners.png │ │ ├── tiktok.png │ │ └── zoominfo.png │ ├── sitemap.xml │ └── valor.svg │ ├── src │ ├── components │ │ ├── button │ │ │ ├── button.css │ │ │ └── button.tsx │ │ ├── card │ │ │ ├── card.css │ │ │ └── card.tsx │ │ ├── container │ │ │ ├── container.css │ │ │ └── container.tsx │ │ ├── footer │ │ │ ├── footer.css │ │ │ └── footer.tsx │ │ ├── forms │ │ │ └── select │ │ │ │ ├── select.css │ │ │ │ └── select.tsx │ │ ├── icon │ │ │ ├── data.tsx │ │ │ ├── icon.css │ │ │ └── icon.tsx │ │ ├── line │ │ │ ├── line.css │ │ │ └── line.tsx │ │ ├── loader │ │ │ ├── loader.css │ │ │ └── loader.tsx │ │ ├── navbar │ │ │ ├── navbar.css │ │ │ └── navbar.tsx │ │ ├── partytown │ │ │ └── partytown.tsx │ │ ├── router-head │ │ │ └── router-head.tsx │ │ ├── section │ │ │ ├── section.css │ │ │ └── section.tsx │ │ └── sections │ │ │ ├── banner │ │ │ ├── banner.css │ │ │ └── banner.tsx │ │ │ ├── brands │ │ │ ├── brands.css │ │ │ └── brands.tsx │ │ │ ├── contact │ │ │ ├── contact.css │ │ │ └── contact.tsx │ │ │ ├── discord │ │ │ ├── discord.css │ │ │ ├── discord.tsx │ │ │ └── shapes.tsx │ │ │ ├── doc-summary │ │ │ ├── doc-summary.css │ │ │ ├── doc-summary.tsx │ │ │ └── shapes.tsx │ │ │ ├── evolving │ │ │ ├── evolving.css │ │ │ └── evolving.tsx │ │ │ ├── explore │ │ │ ├── explore.css │ │ │ └── explore.tsx │ │ │ ├── hero │ │ │ ├── hero.css │ │ │ ├── hero.tsx │ │ │ └── shapes.tsx │ │ │ ├── medusa │ │ │ ├── medusa.css │ │ │ ├── medusa.tsx │ │ │ └── shapes.tsx │ │ │ ├── showcase │ │ │ ├── showcase.css │ │ │ └── showcase.tsx │ │ │ ├── sponsor │ │ │ ├── shapes.tsx │ │ │ ├── sponsor.css │ │ │ └── sponsor.tsx │ │ │ └── subscribe │ │ │ ├── shapes.tsx │ │ │ ├── subscribe.css │ │ │ └── subscribe.tsx │ ├── entry.dev.tsx │ ├── entry.netlify-edge.tsx │ ├── entry.preview.tsx │ ├── entry.ssr.tsx │ ├── global.css │ ├── i18n │ │ ├── en-US │ │ │ ├── app.json │ │ │ ├── banner.json │ │ │ ├── contact.json │ │ │ ├── discord.json │ │ │ ├── doc-summary.json │ │ │ ├── evolving.json │ │ │ ├── explore.json │ │ │ ├── footer.json │ │ │ ├── hero.json │ │ │ ├── medusa.json │ │ │ ├── navbar.json │ │ │ ├── showcase-page.json │ │ │ ├── showcase.json │ │ │ ├── sponsor.json │ │ │ └── subscribe.json │ │ ├── pt-BR │ │ │ ├── app.json │ │ │ ├── banner.json │ │ │ ├── contact.json │ │ │ ├── discord.json │ │ │ ├── doc-summary.json │ │ │ ├── evolving.json │ │ │ ├── explore.json │ │ │ ├── footer.json │ │ │ ├── hero.json │ │ │ ├── medusa.json │ │ │ ├── navbar.json │ │ │ ├── showcase-page.json │ │ │ ├── showcase.json │ │ │ ├── sponsor.json │ │ │ └── subscribe.json │ │ └── zh-CN │ │ │ ├── app.json │ │ │ ├── banner.json │ │ │ ├── contact.json │ │ │ ├── discord.json │ │ │ ├── doc-summary.json │ │ │ ├── evolving.json │ │ │ ├── explore.json │ │ │ ├── footer.json │ │ │ ├── hero.json │ │ │ ├── medusa.json │ │ │ ├── navbar.json │ │ │ ├── showcase-page.json │ │ │ ├── showcase.json │ │ │ ├── sponsor.json │ │ │ └── subscribe.json │ ├── root.tsx │ ├── routes │ │ ├── [...lang] │ │ │ ├── index.tsx │ │ │ ├── layout.tsx │ │ │ ├── privacy-policy │ │ │ │ └── index.tsx │ │ │ └── showcase │ │ │ │ └── index.tsx │ │ └── service-worker.ts │ ├── speak-config.ts │ └── speak-functions.ts │ ├── tailwind.config.js │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ └── vite.config.ts ├── babel.config.json ├── changeset-gen.js ├── commit-gen.js ├── commitlint.config.js ├── image.png ├── jest.config.ts ├── jest.preset.js ├── main.py ├── manifest.json ├── netlify.toml ├── nx.json ├── package.json ├── packages ├── .gitkeep ├── assemble-release-plan │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── babel.config.js │ ├── package.json │ ├── project.json │ ├── src │ │ ├── README.md │ │ ├── apply-links.ts │ │ ├── determine-dependents.ts │ │ ├── flatten-releases.ts │ │ ├── increment.test.ts │ │ ├── increment.ts │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── match-fixed-constraint.ts │ │ ├── test-utils.ts │ │ ├── types.ts │ │ └── utils.ts │ └── tsconfig.json ├── bridge │ ├── bridge-react-webpack-plugin │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── __tests__ │ │ │ ├── mockRouterDir │ │ │ │ ├── router-v5 │ │ │ │ │ └── react-router-dom │ │ │ │ │ │ └── package.json │ │ │ │ └── router-v6 │ │ │ │ │ └── react-router-dom │ │ │ │ │ └── package.json │ │ │ └── utils.spec.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ │ ├── index.ts │ │ │ └── utis.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ ├── vite.config.ts │ │ └── vitest.config.ts │ ├── bridge-react │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── __tests__ │ │ │ ├── bridge.spec.tsx │ │ │ ├── router.spec.tsx │ │ │ └── util.ts │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ │ ├── .eslintrc.js │ │ │ ├── index.ts │ │ │ ├── modern-app-env.d.ts │ │ │ ├── provider │ │ │ │ ├── context.tsx │ │ │ │ ├── plugin.ts │ │ │ │ └── versions │ │ │ │ │ ├── bridge-base.tsx │ │ │ │ │ ├── legacy.ts │ │ │ │ │ ├── v18.ts │ │ │ │ │ └── v19.ts │ │ │ ├── remote │ │ │ │ ├── component.tsx │ │ │ │ └── create.tsx │ │ │ ├── router │ │ │ │ ├── default.tsx │ │ │ │ ├── v5.tsx │ │ │ │ └── v6.tsx │ │ │ ├── types.ts │ │ │ ├── utils │ │ │ │ └── index.ts │ │ │ ├── v18.ts │ │ │ └── v19.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ ├── vite.config.ts │ │ └── vitest.config.ts │ ├── bridge-shared │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── project.json │ │ ├── src │ │ │ ├── bridge.ts │ │ │ ├── env.ts │ │ │ ├── index.ts │ │ │ ├── type.ts │ │ │ └── vite-env.d.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ └── vite.config.ts │ └── vue3-bridge │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── README.md │ │ ├── package.json │ │ ├── project.json │ │ ├── public │ │ └── vite.svg │ │ ├── src │ │ ├── assets │ │ │ └── vue.svg │ │ ├── components │ │ │ └── HelloWorld.vue │ │ ├── create.ts │ │ ├── index.ts │ │ ├── provider.ts │ │ ├── remoteApp.tsx │ │ ├── style.css │ │ ├── utils.ts │ │ └── vite-env.d.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ └── vite.config.ts ├── chrome-devtools │ ├── .browserslistrc │ ├── .eslintrc.js │ ├── .gitignore │ ├── .npmrc │ ├── .nvmrc │ ├── .storybook │ │ └── main.ts │ ├── CHANGELOG.md │ ├── README.md │ ├── __tests__ │ │ ├── mock │ │ │ ├── index.ts │ │ │ └── snapshot.ts │ │ ├── setup.ts │ │ └── snapshot.spec.ts │ ├── config │ │ └── public │ │ │ ├── createDevtools.html │ │ │ ├── devtools.js │ │ │ └── favicon.ico │ ├── e2e │ │ ├── index.spec.ts │ │ └── index.ts │ ├── install-deps.bash │ ├── manifest.json │ ├── mock.js │ ├── modern.config.ts │ ├── modern.lib.config.ts │ ├── package.json │ ├── playwright.config.ts │ ├── postpack.js │ ├── project.json │ ├── src │ │ ├── .eslintrc.js │ │ ├── App.module.scss │ │ ├── App.tsx │ │ ├── component │ │ │ ├── Form │ │ │ │ ├── index.module.scss │ │ │ │ └── index.tsx │ │ │ ├── Graph │ │ │ │ ├── index.module.scss │ │ │ │ └── index.tsx │ │ │ ├── GraphItem │ │ │ │ ├── index.module.scss │ │ │ │ └── index.tsx │ │ │ └── Layout │ │ │ │ ├── index.module.scss │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ ├── init.ts │ │ ├── modern-app-env.d.ts │ │ ├── template │ │ │ ├── constant.ts │ │ │ └── index.ts │ │ ├── utils │ │ │ ├── chrome │ │ │ │ ├── fast-refresh.ts │ │ │ │ ├── index.ts │ │ │ │ ├── post-message-init.ts │ │ │ │ ├── post-message-listener.ts │ │ │ │ ├── post-message-start.ts │ │ │ │ ├── post-message.ts │ │ │ │ ├── snapshot-plugin.ts │ │ │ │ └── storage.ts │ │ │ ├── data │ │ │ │ ├── index.ts │ │ │ │ └── snapshot.ts │ │ │ ├── index.ts │ │ │ ├── sdk │ │ │ │ ├── graph.ts │ │ │ │ └── index.ts │ │ │ └── types │ │ │ │ ├── common.ts │ │ │ │ └── index.ts │ │ └── worker │ │ │ └── index.ts │ ├── stories │ │ └── index.stories.tsx │ ├── tsconfig.base.json │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── vitest.config.ts ├── cli │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── mf.js │ ├── package.json │ ├── project.json │ ├── rollup.config.js │ ├── src │ │ ├── cli.ts │ │ ├── commands │ │ │ └── dts.ts │ │ ├── env.d.ts │ │ ├── index.ts │ │ ├── types.ts │ │ └── utils │ │ │ ├── apply-common-options.ts │ │ │ ├── logger.ts │ │ │ ├── prepare.ts │ │ │ └── readConfig.ts │ └── tsconfig.json ├── core │ ├── .babelrc │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── Logger.ts │ │ ├── api │ │ │ ├── api.ts │ │ │ └── index.ts │ │ ├── global.d.ts │ │ ├── index.ts │ │ ├── integrations │ │ │ ├── esbuild │ │ │ │ └── .gitkeep │ │ │ ├── rspack │ │ │ │ └── .gitkeep │ │ │ └── webpack │ │ │ │ ├── factory.ts │ │ │ │ ├── index.ts │ │ │ │ └── types │ │ │ │ └── index.ts │ │ ├── lib │ │ │ ├── containers.ts │ │ │ ├── index.ts │ │ │ ├── runtime.ts │ │ │ └── scopes.ts │ │ ├── types │ │ │ └── index.ts │ │ └── utils │ │ │ ├── common.spec.ts │ │ │ └── common.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── create-module-federation │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── project.json │ ├── rslib.config.ts │ ├── src │ │ ├── create.ts │ │ ├── handlebars │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ ├── index.ts │ │ └── materials │ │ │ ├── FsMaterial.ts │ │ │ ├── FsResource.ts │ │ │ ├── constants.ts │ │ │ └── index.ts │ ├── templates │ │ ├── consumer-modern-ts │ │ │ ├── modern.config.ts │ │ │ ├── module-federation.config.ts.handlebars │ │ │ └── src │ │ │ │ └── routes │ │ │ │ └── page.tsx │ │ ├── consumer-rsbuild-ts │ │ │ ├── module-federation.config.ts.handlebars │ │ │ ├── rsbuild.config.ts │ │ │ └── src │ │ │ │ └── App.tsx │ │ ├── lib-common │ │ │ ├── module-federation.config.ts.handlebars │ │ │ ├── rslib.config.ts │ │ │ ├── src │ │ │ │ ├── index.css │ │ │ │ └── index.tsx │ │ │ └── tsconfig.json │ │ ├── modern-common │ │ │ ├── .browserslistrc │ │ │ ├── .gitignore │ │ │ ├── .npmrc │ │ │ ├── .nvmrc │ │ │ ├── .vscode │ │ │ │ ├── extensions.json │ │ │ │ └── settings.json │ │ │ ├── README.md │ │ │ ├── biome.json │ │ │ ├── package.json.handlebars │ │ │ ├── src │ │ │ │ ├── modern-app-env.d.ts │ │ │ │ ├── modern.runtime.ts │ │ │ │ └── routes │ │ │ │ │ ├── index.css │ │ │ │ │ └── layout.tsx │ │ │ └── tsconfig.json │ │ ├── provider-modern-ts │ │ │ ├── modern.config.ts │ │ │ ├── module-federation.config.ts.handlebars │ │ │ └── src │ │ │ │ ├── components │ │ │ │ ├── ProviderComponent.css │ │ │ │ └── ProviderComponent.tsx │ │ │ │ └── routes │ │ │ │ └── page.tsx │ │ ├── provider-rsbuild-ts │ │ │ ├── module-federation.config.ts.handlebars │ │ │ ├── rsbuild.config.ts │ │ │ └── src │ │ │ │ ├── App.tsx │ │ │ │ └── components │ │ │ │ ├── ProviderComponent.css │ │ │ │ └── ProviderComponent.tsx │ │ ├── provider-rslib-storybook-ts │ │ │ ├── .gitignore │ │ │ ├── .storybook │ │ │ │ └── main.ts.handlebars │ │ │ ├── README.md │ │ │ ├── package.json.handlebars │ │ │ └── stories │ │ │ │ └── Index.stories.tsx │ │ ├── provider-rslib-ts │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ └── package.json.handlebars │ │ └── rsbuild-common │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── package.json.handlebars │ │ │ ├── public │ │ │ └── .gitkeep │ │ │ ├── src │ │ │ ├── App.css │ │ │ ├── bootstrap.tsx │ │ │ ├── env.d.ts │ │ │ └── index.tsx │ │ │ └── tsconfig.json │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── data-prefetch │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ │ ├── babel.spec.ts │ │ ├── prefetch.spec.ts │ │ └── react.spec.ts │ ├── jest.config.cjs │ ├── package.json │ ├── project.json │ ├── rollup.config.cjs │ ├── src │ │ ├── cli │ │ │ ├── babel.ts │ │ │ └── index.ts │ │ ├── common │ │ │ ├── constant.ts │ │ │ ├── index.ts │ │ │ ├── node-utils.ts │ │ │ └── runtime-utils.ts │ │ ├── constant.ts │ │ ├── index.ts │ │ ├── logger │ │ │ └── index.ts │ │ ├── plugin.ts │ │ ├── prefetch.ts │ │ ├── react │ │ │ ├── hooks.ts │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ └── universal │ │ │ └── index.ts │ ├── tsconfig.json │ └── tsconfig.lib.json ├── dts-plugin │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── project.json │ ├── src │ │ ├── core │ │ │ ├── configurations │ │ │ │ ├── hostPlugin.test.ts │ │ │ │ ├── hostPlugin.ts │ │ │ │ ├── remotePlugin.test.ts │ │ │ │ ├── remotePlugin.ts │ │ │ │ └── tsconfig.test.json │ │ │ ├── constant.ts │ │ │ ├── index.ts │ │ │ ├── interfaces │ │ │ │ ├── DTSManagerOptions.ts │ │ │ │ ├── HostOptions.ts │ │ │ │ ├── RemoteOptions.ts │ │ │ │ └── TsConfigJson.ts │ │ │ ├── lib │ │ │ │ ├── DTSManager.advance.spec.ts │ │ │ │ ├── DTSManager.general.spec.ts │ │ │ │ ├── DTSManager.spec.ts │ │ │ │ ├── DTSManager.ts │ │ │ │ ├── DtsWorker.spec.ts │ │ │ │ ├── DtsWorker.ts │ │ │ │ ├── archiveHandler.test.ts │ │ │ │ ├── archiveHandler.ts │ │ │ │ ├── consumeTypes.spec.ts │ │ │ │ ├── consumeTypes.ts │ │ │ │ ├── forkGenerateDts.ts │ │ │ │ ├── generateTypes.ts │ │ │ │ ├── generateTypesInChildProcess.ts │ │ │ │ ├── typeScriptCompiler.test.ts │ │ │ │ ├── typeScriptCompiler.ts │ │ │ │ ├── utils.spec.ts │ │ │ │ └── utils.ts │ │ │ └── rpc │ │ │ │ ├── __snapshots__ │ │ │ │ └── wrap-rpc.spec.ts.snap │ │ │ │ ├── expose-rpc.ts │ │ │ │ ├── index.ts │ │ │ │ ├── rpc-error.ts │ │ │ │ ├── rpc-worker.ts │ │ │ │ ├── types.ts │ │ │ │ ├── wrap-rpc.spec.ts │ │ │ │ └── wrap-rpc.ts │ │ ├── dev-worker │ │ │ ├── DevWorker.ts │ │ │ ├── createDevWorker.ts │ │ │ ├── forkDevWorker.ts │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ ├── index.ts │ │ ├── plugins │ │ │ ├── ConsumeTypesPlugin.ts │ │ │ ├── DevPlugin.ts │ │ │ ├── DtsPlugin.ts │ │ │ ├── GenerateTypesPlugin.ts │ │ │ └── utils.ts │ │ ├── runtime-plugins │ │ │ ├── dynamic-remote-type-hints-plugin.ts │ │ │ └── utils.ts │ │ └── server │ │ │ ├── DevServer.ts │ │ │ ├── Publisher.ts │ │ │ ├── WebClient.ts │ │ │ ├── broker │ │ │ ├── Broker.ts │ │ │ ├── createBroker.ts │ │ │ └── startBroker.ts │ │ │ ├── constant.ts │ │ │ ├── createKoaServer.ts │ │ │ ├── createWebsocket.ts │ │ │ ├── index.ts │ │ │ ├── launchWebClient.ts │ │ │ ├── message │ │ │ ├── API │ │ │ │ ├── API.ts │ │ │ │ ├── FetchTypes.ts │ │ │ │ ├── ReloadWebClient.ts │ │ │ │ ├── UpdateSubscriber.ts │ │ │ │ └── index.ts │ │ │ ├── Action │ │ │ │ ├── Action.ts │ │ │ │ ├── AddDynamicRemote.ts │ │ │ │ ├── AddPublisher.ts │ │ │ │ ├── AddSubscriber.ts │ │ │ │ ├── AddWebClient.ts │ │ │ │ ├── ExitPublisher.ts │ │ │ │ ├── ExitSubscriber.ts │ │ │ │ ├── FetchTypes.ts │ │ │ │ ├── NotifyWebClient.ts │ │ │ │ ├── Update.ts │ │ │ │ ├── UpdatePublisher.ts │ │ │ │ └── index.ts │ │ │ ├── Log │ │ │ │ ├── BrokerExitLog.ts │ │ │ │ ├── Log.ts │ │ │ │ ├── PublisherRegisteredLog.ts │ │ │ │ └── index.ts │ │ │ └── Message.ts │ │ │ ├── types │ │ │ ├── broker.ts │ │ │ ├── index.ts │ │ │ └── message.ts │ │ │ └── utils │ │ │ ├── getIPV4.ts │ │ │ ├── index.ts │ │ │ ├── log.ts │ │ │ └── logTransform.ts │ ├── tests │ │ ├── setup.ts │ │ └── vue-tsc2 │ │ │ ├── Button.vue │ │ │ ├── index.spec.ts │ │ │ └── tsconfig.vue.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ ├── tsup.config.ts │ └── vite.config.ts ├── enhanced │ ├── .eslintrc.json │ ├── .swcrc │ ├── CHANGELOG.md │ ├── README.md │ ├── bin │ │ └── mf.js │ ├── global.d.ts │ ├── jest.config.ts │ ├── jest.embed.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── declarations │ │ │ └── plugins │ │ │ │ ├── container │ │ │ │ ├── AsyncDependenciesBlock.d.ts │ │ │ │ ├── ModuleFactory.d.ts │ │ │ │ ├── ObjectDeserializerContext.d.ts │ │ │ │ ├── StaticExportsDependency.d.ts │ │ │ │ ├── Template.d.ts │ │ │ │ └── WebpackError.d.ts │ │ │ │ └── sharing │ │ │ │ ├── ConsumeSharedModule.d.ts │ │ │ │ ├── ConsumeSharedPlugin.d.ts │ │ │ │ ├── ProvideSharedPlugin.d.ts │ │ │ │ └── SharePlugin.d.ts │ │ ├── index.ts │ │ ├── lib │ │ │ ├── Constants.ts │ │ │ ├── container │ │ │ │ ├── AsyncBoundaryPlugin.ts │ │ │ │ ├── ContainerEntryDependency.ts │ │ │ │ ├── ContainerEntryModule.ts │ │ │ │ ├── ContainerEntryModuleFactory.ts │ │ │ │ ├── ContainerExposedDependency.ts │ │ │ │ ├── ContainerPlugin.ts │ │ │ │ ├── ContainerReferencePlugin.ts │ │ │ │ ├── FallbackDependency.ts │ │ │ │ ├── FallbackItemDependency.ts │ │ │ │ ├── FallbackModule.ts │ │ │ │ ├── FallbackModuleFactory.ts │ │ │ │ ├── HoistContainerReferencesPlugin.ts │ │ │ │ ├── ModuleFederationPlugin.ts │ │ │ │ ├── RemoteModule.ts │ │ │ │ ├── RemoteRuntimeModule.ts │ │ │ │ ├── RemoteToExternalDependency.ts │ │ │ │ ├── constant.ts │ │ │ │ ├── options.ts │ │ │ │ └── runtime │ │ │ │ │ ├── ChildCompilationRuntimePlugin.ts │ │ │ │ │ ├── EmbedFederationRuntimeModule.ts │ │ │ │ │ ├── EmbedFederationRuntimePlugin.ts │ │ │ │ │ ├── FederationModulesPlugin.ts │ │ │ │ │ ├── FederationRuntimeDependency.ts │ │ │ │ │ ├── FederationRuntimeModule.ts │ │ │ │ │ ├── FederationRuntimePlugin.ts │ │ │ │ │ ├── getFederationGlobal.ts │ │ │ │ │ └── utils.ts │ │ │ ├── sharing │ │ │ │ ├── ConsumeSharedFallbackDependency.ts │ │ │ │ ├── ConsumeSharedModule.ts │ │ │ │ ├── ConsumeSharedPlugin.ts │ │ │ │ ├── ConsumeSharedRuntimeModule.ts │ │ │ │ ├── ProvideForSharedDependency.ts │ │ │ │ ├── ProvideSharedDependency.ts │ │ │ │ ├── ProvideSharedModule.ts │ │ │ │ ├── ProvideSharedModuleFactory.ts │ │ │ │ ├── ProvideSharedPlugin.ts │ │ │ │ ├── SharePlugin.ts │ │ │ │ ├── ShareRuntimeModule.ts │ │ │ │ ├── resolveMatchedConfigs.ts │ │ │ │ └── utils.ts │ │ │ └── startup │ │ │ │ ├── MfStartupChunkDependenciesPlugin.ts │ │ │ │ └── StartupHelpers.ts │ │ ├── prefetch.ts │ │ ├── rspack.ts │ │ ├── runtime.ts │ │ ├── runtime │ │ │ └── AddRuntimeRequirementToPromiseExternalPlugin.ts │ │ ├── schemas │ │ │ ├── container │ │ │ │ ├── ContainerPlugin.check.js │ │ │ │ ├── ContainerPlugin.check.ts │ │ │ │ ├── ContainerPlugin.json │ │ │ │ ├── ContainerPlugin.ts │ │ │ │ ├── ContainerReferencePlugin.check.ts │ │ │ │ ├── ContainerReferencePlugin.json │ │ │ │ ├── ContainerReferencePlugin.ts │ │ │ │ ├── ExternalsType.check.ts │ │ │ │ ├── ExternalsType.json │ │ │ │ ├── ExternalsType.ts │ │ │ │ ├── ModuleFederationPlugin.check.d.ts │ │ │ │ ├── ModuleFederationPlugin.check.ts │ │ │ │ ├── ModuleFederationPlugin.json │ │ │ │ └── ModuleFederationPlugin.ts │ │ │ └── sharing │ │ │ │ ├── ConsumeSharedPlugin.check.ts │ │ │ │ ├── ConsumeSharedPlugin.json │ │ │ │ ├── ConsumeSharedPlugin.ts │ │ │ │ ├── ProvideSharedPlugin.check.ts │ │ │ │ ├── ProvideSharedPlugin.json │ │ │ │ ├── ProvideSharedPlugin.ts │ │ │ │ ├── ProviderSharedPlugin.check.ts │ │ │ │ ├── ProviderSharedPlugin.ts │ │ │ │ ├── SharePlugin.check.ts │ │ │ │ ├── SharePlugin.json │ │ │ │ └── SharePlugin.ts │ │ ├── scripts │ │ │ └── compile-schema.js │ │ ├── types │ │ │ └── runtime.ts │ │ ├── utils.ts │ │ ├── webpack.ts │ │ └── wrapper │ │ │ ├── AsyncBoundaryPlugin.ts │ │ │ ├── ConsumeSharedPlugin.ts │ │ │ ├── ContainerPlugin.ts │ │ │ ├── ContainerReferencePlugin.ts │ │ │ ├── FederationModulesPlugin.ts │ │ │ ├── FederationRuntimePlugin.ts │ │ │ ├── HoistContainerReferencesPlugin.ts │ │ │ ├── ModuleFederationPlugin.ts │ │ │ ├── ProvideSharedPlugin.ts │ │ │ ├── README.md │ │ │ └── SharePlugin.ts │ ├── test │ │ ├── ConfigTestCases.basictest.js │ │ ├── ConfigTestCases.embedruntime.js │ │ ├── ConfigTestCases.template.js │ │ ├── checkArrayExpectation.js │ │ ├── configCases │ │ │ ├── container │ │ │ │ ├── 0-container-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ ├── upgrade-react.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 0-transitive-overriding │ │ │ │ │ ├── a.js │ │ │ │ │ ├── b.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── modules.js │ │ │ │ │ ├── shared.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 1-container-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentB.js │ │ │ │ │ ├── ComponentC.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test.config.js │ │ │ │ │ ├── upgrade-react.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 1-transitive-overriding │ │ │ │ │ ├── a.js │ │ │ │ │ ├── b.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── modules-from-remote.js │ │ │ │ │ ├── modules.js │ │ │ │ │ ├── shared.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 2-container-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── Self.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── upgrade-react.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 2-transitive-overriding │ │ │ │ │ ├── index.js │ │ │ │ │ ├── shared.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 3-container-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── upgrade-react.js │ │ │ │ │ ├── warnings.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── circular │ │ │ │ │ ├── a.js │ │ │ │ │ ├── b.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── container-entry-overridables │ │ │ │ │ ├── index.js │ │ │ │ │ ├── test.js │ │ │ │ │ ├── value.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── container-entry │ │ │ │ │ ├── index.js │ │ │ │ │ ├── init-module.js │ │ │ │ │ ├── main.js │ │ │ │ │ ├── state.js │ │ │ │ │ ├── test.js │ │ │ │ │ ├── test2.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── container-reference-override │ │ │ │ │ ├── index.js │ │ │ │ │ ├── module.js │ │ │ │ │ ├── new-test.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── container-reference │ │ │ │ │ ├── index.js │ │ │ │ │ ├── module.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── error-handling │ │ │ │ │ ├── evaluation-error-cjs.js │ │ │ │ │ ├── evaluation-error-tl-await.js │ │ │ │ │ ├── evaluation-error.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── invalid-module-cjs.js │ │ │ │ │ ├── invalid-module-tl-await.js │ │ │ │ │ ├── invalid-module.js │ │ │ │ │ ├── loading-error-cjs.js │ │ │ │ │ ├── loading-error-tl-await.js │ │ │ │ │ ├── loading-error.js │ │ │ │ │ ├── module.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── exposed-overridables │ │ │ │ │ ├── App.js │ │ │ │ │ ├── Button.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── module-federation-with-shareScope │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentB.js │ │ │ │ │ ├── ComponentC.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test.config.js │ │ │ │ │ ├── upgrade-react.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── module-federation │ │ │ │ │ ├── dep.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── module.js │ │ │ │ │ ├── other.js │ │ │ │ │ ├── self.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── multiple-entrypoints-1 │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── other.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── multiple-entrypoints │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── other.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ ├── upgrade-react.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── multiple-runtime-chunk │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentB.js │ │ │ │ │ ├── ComponentC.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test.config.js │ │ │ │ │ ├── upgrade-react.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── no-shared │ │ │ │ │ ├── index.js │ │ │ │ │ ├── module.js │ │ │ │ │ └── webpack.config.js │ │ │ │ └── virtual-entry │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ └── react.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ ├── upgrade-react.js │ │ │ │ │ └── webpack.config.js │ │ │ ├── layers │ │ │ │ ├── 1-layers-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── ComponentALayers.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── layered-react-loader.js │ │ │ │ │ ├── layered-upgrade-react.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 2-layers-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentALayers.js │ │ │ │ │ ├── ComponentB.js │ │ │ │ │ ├── ComponentC.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── layered-react-loader.js │ │ │ │ │ ├── layered-upgrade-react.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 3-layers-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 4-layers-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test.config.js │ │ │ │ │ ├── upgrade-react.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 5-layers-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── layered-react-loader.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 6-layers-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ ├── 7-layers-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── emptyComponent.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── layered-react-loader.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ │ └── 8-layers-full │ │ │ │ │ ├── App.js │ │ │ │ │ ├── ComponentA.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── layerImport.js │ │ │ │ │ ├── node_modules │ │ │ │ │ ├── package.json │ │ │ │ │ └── react.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── test.config.js │ │ │ │ │ └── webpack.config.js │ │ │ └── sharing │ │ │ │ ├── consume-module-ignore-warnings │ │ │ │ ├── errors.js │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── @scoped │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── package.js │ │ │ │ │ ├── prefix │ │ │ │ │ │ ├── a.js │ │ │ │ │ │ └── deep │ │ │ │ │ │ │ └── b.js │ │ │ │ │ ├── singleton.js │ │ │ │ │ ├── singletonWithoutVersion.js │ │ │ │ │ ├── strict0.js │ │ │ │ │ ├── strict1.js │ │ │ │ │ ├── strict2.js │ │ │ │ │ ├── strict3.js │ │ │ │ │ └── strict4.js │ │ │ │ ├── package.json │ │ │ │ ├── relative1.js │ │ │ │ ├── relative2.js │ │ │ │ └── webpack.config.js │ │ │ │ ├── consume-module │ │ │ │ ├── errors.js │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── @scoped │ │ │ │ │ │ └── package │ │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── package.js │ │ │ │ │ ├── prefix │ │ │ │ │ │ ├── a.js │ │ │ │ │ │ └── deep │ │ │ │ │ │ │ └── b.js │ │ │ │ │ ├── singleton.js │ │ │ │ │ ├── singletonWithoutVersion.js │ │ │ │ │ ├── strict0.js │ │ │ │ │ ├── strict1.js │ │ │ │ │ ├── strict2.js │ │ │ │ │ ├── strict3.js │ │ │ │ │ └── strict4.js │ │ │ │ ├── package.json │ │ │ │ ├── relative1.js │ │ │ │ ├── relative2.js │ │ │ │ └── webpack.config.js │ │ │ │ ├── consume-multiple-versions-ignore-warnings │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── my-module │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── my-module2 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── my-module3 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── my-module4 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ │ │ ├── consume-multiple-versions │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── my-module │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── my-module2 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── my-module3 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── my-module4 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ │ │ ├── consume-self-reference │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── my-middleware │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── my-module │ │ │ │ │ │ ├── a.js │ │ │ │ │ │ ├── b.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ │ │ ├── layers-consume-entry │ │ │ │ ├── .gitignore │ │ │ │ ├── async-boundary.js │ │ │ │ ├── index-test.js │ │ │ │ ├── index.js │ │ │ │ ├── layer-exporter.js │ │ │ │ ├── node_modules │ │ │ │ │ └── react │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index2.js │ │ │ │ ├── package.json │ │ │ │ ├── test.config.js │ │ │ │ └── webpack.config.js │ │ │ │ ├── layers-consume-loader │ │ │ │ ├── .gitignore │ │ │ │ ├── loaders │ │ │ │ │ ├── different-layer-loader.js │ │ │ │ │ ├── explicit-layer-loader.js │ │ │ │ │ ├── multi-pkg-layer-loader.js │ │ │ │ │ └── react-layer-loader.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── lib2 │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── multi-pkg │ │ │ │ │ │ ├── thing1.js │ │ │ │ │ │ └── thing2.js │ │ │ │ │ └── react │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index2.js │ │ │ │ ├── package.json │ │ │ │ ├── shared │ │ │ │ │ └── react-boundary.js │ │ │ │ ├── src │ │ │ │ │ └── index.js │ │ │ │ ├── test.config.js │ │ │ │ ├── tests │ │ │ │ │ ├── different-layers.test.js │ │ │ │ │ ├── lib-two.test.js │ │ │ │ │ ├── prefixed-share.test.js │ │ │ │ │ └── unlayered-share.test.js │ │ │ │ └── webpack.config.js │ │ │ │ ├── layers-provides-loader │ │ │ │ ├── .gitignore │ │ │ │ ├── loaders │ │ │ │ │ ├── different-layer-loader.js │ │ │ │ │ ├── explicit-layer-loader.js │ │ │ │ │ ├── multi-pkg-layer-loader.js │ │ │ │ │ └── react-layer-loader.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── lib2 │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── multi-pkg │ │ │ │ │ │ ├── thing1.js │ │ │ │ │ │ └── thing2.js │ │ │ │ │ └── react │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index2.js │ │ │ │ ├── package.json │ │ │ │ ├── shared │ │ │ │ │ └── react-boundary.js │ │ │ │ ├── src │ │ │ │ │ └── index.js │ │ │ │ ├── test.config.js │ │ │ │ ├── tests │ │ │ │ │ ├── different-layers.test.js │ │ │ │ │ ├── lib-two.test.js │ │ │ │ │ ├── prefixed-share.test.js │ │ │ │ │ └── unlayered-share.test.js │ │ │ │ └── webpack.config.js │ │ │ │ ├── layers-share-plugin │ │ │ │ ├── .gitignore │ │ │ │ ├── loaders │ │ │ │ │ ├── different-layer-loader.js │ │ │ │ │ ├── explicit-layer-loader.js │ │ │ │ │ ├── multi-pkg-layer-loader.js │ │ │ │ │ └── react-layer-loader.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── lib2 │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── multi-pkg │ │ │ │ │ │ ├── thing1.js │ │ │ │ │ │ └── thing2.js │ │ │ │ │ └── react │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── index2.js │ │ │ │ ├── package.json │ │ │ │ ├── shared │ │ │ │ │ └── react-boundary.js │ │ │ │ ├── src │ │ │ │ │ └── index.js │ │ │ │ ├── test.config.js │ │ │ │ ├── tests │ │ │ │ │ ├── different-layers.test.js │ │ │ │ │ ├── lib-two.test.js │ │ │ │ │ ├── prefixed-share.test.js │ │ │ │ │ └── unlayered-share.test.js │ │ │ │ └── webpack.config.js │ │ │ │ ├── no-override-loaded │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── package │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ │ │ ├── provide-eager-module │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── common │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── uncommon │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ │ │ ├── provide-module │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── package │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ ├── test1.js │ │ │ │ ├── test2-wrong.js │ │ │ │ ├── test2.js │ │ │ │ └── webpack.config.js │ │ │ │ ├── provide-multiple-versions │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── my-module │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ └── shared │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── shared │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── unused-module │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ └── shared │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ │ │ ├── provide-shared-with-runtime-chunk │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── x │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── test.config.js │ │ │ │ └── webpack.config.js │ │ │ │ ├── share-multiple-versions │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── my-module │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── shared │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── shared │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── unused-module │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ └── shared │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ │ │ ├── share-plugin-dual-mode │ │ │ │ ├── cjs │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── node_modules │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── transitive_lib │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ │ │ ├── share-plugin-monorepo │ │ │ │ ├── app1 │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── lib2 │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ ├── node_modules │ │ │ │ │ ├── lib1 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── lib2 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ │ │ ├── share-plugin │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── lib1 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── lib2 │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── lib3 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── store │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── package.json │ │ │ │ ├── relative1.js │ │ │ │ ├── relative2.js │ │ │ │ └── webpack.config.js │ │ │ │ └── shared-strategy │ │ │ │ ├── App.js │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ └── react.js │ │ │ │ ├── package.json │ │ │ │ └── webpack.config.js │ │ ├── helpers │ │ │ ├── CurrentScript.js │ │ │ ├── FakeDocument.js │ │ │ ├── asModule.js │ │ │ ├── captureStdio.js │ │ │ ├── createLazyTestEnv.js │ │ │ ├── expectWarningFactory.js │ │ │ ├── fakeSystem.js │ │ │ ├── infrastructureLogErrors.js │ │ │ ├── prepareOptions.js │ │ │ └── warmup-webpack.js │ │ ├── patch-node-env.js │ │ ├── setupTestFramework.js │ │ ├── unit │ │ │ ├── container │ │ │ │ ├── ContainerEntryModule.test.ts │ │ │ │ ├── ContainerPlugin.test.ts │ │ │ │ ├── ContainerReferencePlugin.test.ts │ │ │ │ ├── RemoteModule.test.ts │ │ │ │ ├── RemoteRuntimeModule.test.ts │ │ │ │ └── utils.ts │ │ │ └── sharing │ │ │ │ ├── ConsumeSharedModule.test.ts │ │ │ │ ├── ConsumeSharedPlugin.test.ts │ │ │ │ ├── ConsumeSharedRuntimeModule.test.ts │ │ │ │ ├── ProvideSharedModule.test.ts │ │ │ │ ├── ProvideSharedPlugin.test.ts │ │ │ │ ├── SharePlugin.test.ts │ │ │ │ ├── ShareRuntimeModule.test.ts │ │ │ │ └── utils.ts │ │ └── warmup-webpack.js │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── error-codes │ ├── .swcrc │ ├── CHANGELOG.md │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── project.json │ ├── rollup.config.js │ ├── src │ │ ├── desc.ts │ │ ├── error-codes.ts │ │ ├── getShortErrorMsg.ts │ │ └── index.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── esbuild │ ├── .eslintrc.json │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── global.d.ts │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── rollup.config.js │ ├── src │ │ ├── adapters │ │ │ └── lib │ │ │ │ ├── collect-exports.ts │ │ │ │ ├── commonjs.ts │ │ │ │ ├── containerPlugin.ts │ │ │ │ ├── containerReference.ts │ │ │ │ ├── lexer.ts │ │ │ │ ├── linkRemotesPlugin.ts │ │ │ │ ├── manifest.ts │ │ │ │ ├── plugin.ts │ │ │ │ ├── react-replacements.ts │ │ │ │ ├── transform.ts │ │ │ │ └── utils.ts │ │ ├── build.ts │ │ ├── index.ts │ │ ├── lib │ │ │ ├── config │ │ │ │ ├── configuration-context.ts │ │ │ │ ├── federation-config.ts │ │ │ │ ├── share-utils.ts │ │ │ │ └── with-native-federation.ts │ │ │ ├── core │ │ │ │ ├── build-adapter.ts │ │ │ │ ├── createContainerTemplate.ts │ │ │ │ ├── default-skip-list.ts │ │ │ │ ├── federation-options.ts │ │ │ │ ├── get-externals.ts │ │ │ │ ├── load-federation-config.ts │ │ │ │ └── write-federation-info.ts │ │ │ └── utils │ │ │ │ ├── logger.ts │ │ │ │ ├── mapped-paths.ts │ │ │ │ ├── normalize.ts │ │ │ │ └── package-info.ts │ │ └── resolve │ │ │ ├── esm-resolver.mjs │ │ │ └── package.json │ ├── tsconfig.json │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ └── vitest.config.ts ├── managers │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ │ ├── ContainerManager.spec.ts │ │ ├── PKGJsonManager.spec.ts │ │ ├── RemoteManager.spec.ts │ │ ├── SharedManager.spec.ts │ │ └── __snapshots__ │ │ │ ├── ContainerManager.spec.ts.snap │ │ │ ├── RemoteManager.spec.ts.snap │ │ │ └── SharedManager.spec.ts.snap │ ├── jest.config.js │ ├── package.json │ ├── project.json │ ├── rollup.config.js │ ├── src │ │ ├── BasicPluginOptionsManager.ts │ │ ├── ContainerManager.ts │ │ ├── PKGJsonManager.ts │ │ ├── RemoteManager.ts │ │ ├── SharedManager.ts │ │ ├── constant.ts │ │ ├── index.ts │ │ ├── types.ts │ │ └── utils.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── manifest │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── project.json │ ├── rollup.config.js │ ├── src │ │ ├── ManifestManager.ts │ │ ├── ModuleHandler.ts │ │ ├── StatsManager.ts │ │ ├── StatsPlugin.ts │ │ ├── constants.ts │ │ ├── index.ts │ │ ├── logger.ts │ │ ├── types.ts │ │ └── utils.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── modernjs │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── mf.js │ ├── modern.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── cli │ │ │ ├── configPlugin.spec.ts │ │ │ ├── configPlugin.ts │ │ │ ├── index.ts │ │ │ ├── mfRuntimePlugins │ │ │ │ ├── auto-fetch-data.ts │ │ │ │ ├── inject-node-fetch.ts │ │ │ │ ├── resolve-entry-ipv4.ts │ │ │ │ └── shared-strategy.ts │ │ │ ├── server │ │ │ │ └── data-fetch-server-plugin.ts │ │ │ ├── ssrPlugin.ts │ │ │ └── utils.ts │ │ ├── constant.ts │ │ ├── interfaces │ │ │ ├── bundler.ts │ │ │ └── global.ts │ │ ├── logger.ts │ │ ├── runtime │ │ │ ├── AwaitDataFetch.tsx │ │ │ ├── createRemoteComponent.tsx │ │ │ ├── index.ts │ │ │ └── wrapNoSSR.tsx │ │ ├── server │ │ │ ├── fileCache.spec.ts │ │ │ ├── fileCache.ts │ │ │ ├── index.ts │ │ │ ├── staticMiddleware.spec.ts │ │ │ └── staticMiddleware.ts │ │ ├── ssr-runtime │ │ │ ├── SSRLiveReload.tsx │ │ │ ├── devPlugin.tsx │ │ │ ├── downgrade.ts │ │ │ └── injectDataFetchFunctionPlugin.tsx │ │ ├── types │ │ │ └── index.ts │ │ └── utils │ │ │ ├── dataFetch.ts │ │ │ └── index.ts │ ├── tsconfig.json │ ├── tsup.config.ts │ ├── typedoc.json │ ├── types.d.ts │ └── vite.config.ts ├── native-federation-tests │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── project.json │ ├── src │ │ ├── configurations │ │ │ ├── hostPlugin.test.ts │ │ │ ├── hostPlugin.ts │ │ │ ├── remotePlugin.test.ts │ │ │ ├── remotePlugin.ts │ │ │ └── tsconfig.test.json │ │ ├── esbuild.ts │ │ ├── farm.ts │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── interfaces │ │ │ ├── HostOptions.ts │ │ │ └── RemoteOptions.ts │ │ ├── lib │ │ │ ├── archiveHandler.test.ts │ │ │ └── archiveHandler.ts │ │ ├── rolldown.ts │ │ ├── rollup.ts │ │ ├── rspack.ts │ │ ├── vite.ts │ │ └── webpack.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ ├── tsup.config.ts │ ├── typedoc.json │ └── vite.config.ts ├── native-federation-typescript │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── project.json │ ├── src │ │ ├── configurations │ │ │ ├── hostPlugin.test.ts │ │ │ ├── hostPlugin.ts │ │ │ ├── remotePlugin.test.ts │ │ │ ├── remotePlugin.ts │ │ │ └── tsconfig.test.json │ │ ├── esbuild.ts │ │ ├── farm.ts │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── interfaces │ │ │ ├── HostOptions.ts │ │ │ └── RemoteOptions.ts │ │ ├── lib │ │ │ ├── archiveHandler.test.ts │ │ │ ├── archiveHandler.ts │ │ │ ├── typeScriptCompiler.test.ts │ │ │ └── typeScriptCompiler.ts │ │ ├── rolldown.ts │ │ ├── rollup.ts │ │ ├── rspack.ts │ │ ├── vite.ts │ │ └── webpack.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ ├── tsup.config.ts │ ├── typedoc.json │ └── vite.config.ts ├── nextjs-mf │ ├── .babelrc │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── client │ │ ├── UrlNode.ts │ │ └── helpers.ts │ ├── global.d.ts │ ├── jest.config.js │ ├── node.ts │ ├── package.json │ ├── project.json │ ├── rollup.config.js │ ├── src │ │ ├── federation-noop.ts │ │ ├── index.ts │ │ ├── internal.ts │ │ ├── loaders │ │ │ ├── fixImageLoader.ts │ │ │ ├── fixUrlLoader.ts │ │ │ ├── helpers.ts │ │ │ └── nextPageMapLoader.ts │ │ ├── plugins │ │ │ ├── AddRuntimeRequirementToPromiseExternalPlugin.ts │ │ │ ├── CopyFederationPlugin.ts │ │ │ ├── NextFederationPlugin │ │ │ │ ├── apply-client-plugins.ts │ │ │ │ ├── apply-server-plugins.ts │ │ │ │ ├── index.ts │ │ │ │ ├── next-fragments.ts │ │ │ │ ├── regex-equal.test.ts │ │ │ │ ├── regex-equal.ts │ │ │ │ ├── remove-unnecessary-shared-keys.test.ts │ │ │ │ ├── remove-unnecessary-shared-keys.ts │ │ │ │ ├── set-options.ts │ │ │ │ └── validate-options.ts │ │ │ └── container │ │ │ │ ├── InvertedContainerPlugin.ts │ │ │ │ ├── InvertedContainerRuntimeModule.ts │ │ │ │ ├── RemoveEagerModulesFromRuntimePlugin.ts │ │ │ │ ├── runtimePlugin.ts │ │ │ │ └── types.ts │ │ ├── types.ts │ │ └── types │ │ │ └── btoa.d.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ └── utils │ │ ├── flushedChunks.ts │ │ └── index.ts ├── node │ ├── .babelrc │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── README.md │ ├── assets │ │ └── banner.png │ ├── global.d.ts │ ├── jest.config.js │ ├── package.json │ ├── project.json │ ├── src │ │ ├── __tests__ │ │ │ └── runtimePlugin.test.ts │ │ ├── filesystem │ │ │ └── stratagies.ts │ │ ├── index.ts │ │ ├── plugins │ │ │ ├── AutomaticPublicPathPlugin.ts │ │ │ ├── ChunkCorrelationPlugin.js │ │ │ ├── CommonJsChunkLoadingPlugin.ts │ │ │ ├── DynamicFilesystemChunkLoadingRuntimeModule.ts │ │ │ ├── EntryChunkTrackerPlugin.ts │ │ │ ├── NodeFederationPlugin.ts │ │ │ ├── RemotePublicPathRuntimeModule.ts │ │ │ ├── StreamingTargetPlugin.ts │ │ │ ├── UniversalFederationPlugin.ts │ │ │ ├── UniverseEntryChunkTrackerPlugin.ts │ │ │ └── webpackChunkUtilities.ts │ │ ├── recordDynamicRemoteEntryHashPlugin.ts │ │ ├── runtimePlugin.ts │ │ ├── types │ │ │ └── index.ts │ │ └── utils │ │ │ ├── flush-chunks.ts │ │ │ ├── hot-reload.ts │ │ │ └── index.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── retry-plugin │ ├── .eslintrc.json │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ │ └── retry.spec.ts │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── constant.ts │ │ ├── fetch-retry.ts │ │ ├── index.ts │ │ ├── logger.ts │ │ ├── types.d.ts │ │ └── util.ts │ ├── tsconfig.json │ ├── tsup.config.ts │ └── vitest.config.ts ├── rsbuild-plugin │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── project.json │ ├── rollup.config.js │ ├── src │ │ ├── cli │ │ │ ├── index.spec.ts │ │ │ ├── index.ts │ │ │ ├── manifest.ts │ │ │ ├── ssr.spec.ts │ │ │ └── ssr.ts │ │ ├── logger.ts │ │ └── utils │ │ │ ├── addDataFetchExposes.ts │ │ │ ├── autoDeleteSplitChunkCacheGroups.ts │ │ │ ├── constant.ts │ │ │ └── index.ts │ ├── tsconfig.json │ └── vite.config.ts ├── rspack │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── project.json │ ├── rollup.config.js │ ├── src │ │ ├── ModuleFederationPlugin.ts │ │ ├── RemoteEntryPlugin.ts │ │ ├── index.ts │ │ └── logger.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── runtime-core │ ├── .eslintrc.json │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ │ ├── __snapshots__ │ │ │ └── preload-remote.spec.ts.snap │ │ ├── hooks.spec.ts │ │ ├── instance.spec.ts │ │ ├── is-static-resources-equal.spec.ts │ │ ├── mock │ │ │ ├── env.ts │ │ │ ├── handlers.ts │ │ │ ├── mock-script.ts │ │ │ ├── moduleInfo.ts │ │ │ ├── server.ts │ │ │ └── utils.ts │ │ ├── register-remotes.spec.ts │ │ ├── resources │ │ │ ├── app2 │ │ │ │ └── federation-remote-entry.js │ │ │ ├── hooks │ │ │ │ ├── app2 │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ └── app3 │ │ │ │ │ └── federation-remote-entry.js │ │ │ ├── load-remote │ │ │ │ ├── app1 │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ ├── app2 │ │ │ │ │ ├── federation-remote-entry.js │ │ │ │ │ └── say.sync.js │ │ │ │ ├── circulate-dep-app1 │ │ │ │ │ ├── federation-manifest.json │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ ├── circulate-dep-app2 │ │ │ │ │ ├── federation-manifest.json │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ └── diff-instance │ │ │ │ │ └── federation-remote-entry.js │ │ │ ├── main │ │ │ │ ├── federation-manifest.json │ │ │ │ └── federation-remote-entry.js │ │ │ ├── preload │ │ │ │ └── preload-resource │ │ │ │ │ └── federation-remote-entry.js │ │ │ ├── register-remotes │ │ │ │ ├── app1 │ │ │ │ │ ├── federation-remote-entry.js │ │ │ │ │ └── federation-remote-entry2.js │ │ │ │ └── app2 │ │ │ │ │ └── federation-remote-entry.js │ │ │ ├── snapshot │ │ │ │ ├── remote1 │ │ │ │ │ ├── federation-manifest.json │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ └── remote2 │ │ │ │ │ ├── federation-manifest.json │ │ │ │ │ └── federation-remote-entry.js │ │ │ └── version-strategy-app2 │ │ │ │ └── federation-remote-entry.js │ │ ├── semver.spec.ts │ │ ├── setup.ts │ │ ├── share.ts │ │ └── snapshot.spec.ts │ ├── global.d.ts │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── rollup.config.cjs │ ├── src │ │ ├── constant.ts │ │ ├── core.ts │ │ ├── global.ts │ │ ├── helpers.ts │ │ ├── index.ts │ │ ├── module │ │ │ └── index.ts │ │ ├── plugins │ │ │ ├── generate-preload-assets.ts │ │ │ └── snapshot │ │ │ │ ├── SnapshotHandler.ts │ │ │ │ └── index.ts │ │ ├── remote │ │ │ └── index.ts │ │ ├── shared │ │ │ └── index.ts │ │ ├── type │ │ │ ├── config.ts │ │ │ ├── index.ts │ │ │ ├── plugin.ts │ │ │ └── preload.ts │ │ ├── types.ts │ │ └── utils │ │ │ ├── env.ts │ │ │ ├── hooks │ │ │ ├── asyncHook.ts │ │ │ ├── asyncWaterfallHooks.ts │ │ │ ├── index.ts │ │ │ ├── pluginSystem.ts │ │ │ ├── syncHook.ts │ │ │ └── syncWaterfallHook.ts │ │ │ ├── index.ts │ │ │ ├── load.ts │ │ │ ├── logger.ts │ │ │ ├── manifest.ts │ │ │ ├── plugin.ts │ │ │ ├── preload.ts │ │ │ ├── semver │ │ │ ├── compare.ts │ │ │ ├── constants.ts │ │ │ ├── index.ts │ │ │ ├── parser.ts │ │ │ └── utils.ts │ │ │ ├── share.ts │ │ │ └── tool.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── vitest.config.ts ├── runtime-plugins │ └── inject-external-runtime-core-plugin │ │ ├── .swcrc │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ ├── project.json │ │ ├── rollup.config.cjs │ │ ├── src │ │ └── index.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.lib.json │ │ └── tsconfig.spec.json ├── runtime-tools │ ├── .eslintrc.json │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── rollup.config.cjs │ ├── src │ │ ├── index.ts │ │ ├── runtime-core.ts │ │ ├── runtime.ts │ │ └── webpack-bundler-runtime.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── runtime │ ├── .eslintrc.json │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ │ ├── __snapshots__ │ │ │ └── preload-remote.spec.ts.snap │ │ ├── api.spec.ts │ │ ├── get-registered-share.spec.ts │ │ ├── globa.spec.ts │ │ ├── global.spec.ts │ │ ├── hooks.spec.ts │ │ ├── instance.spec.ts │ │ ├── is-static-resources-equal.spec.ts │ │ ├── load-remote.spec.ts │ │ ├── mock │ │ │ ├── env.ts │ │ │ ├── handlers.ts │ │ │ ├── mock-script.ts │ │ │ ├── moduleInfo.ts │ │ │ ├── server.ts │ │ │ └── utils.ts │ │ ├── preload-remote.spec.ts │ │ ├── register-remotes.spec.ts │ │ ├── resources │ │ │ ├── app2 │ │ │ │ └── federation-remote-entry.js │ │ │ ├── hooks │ │ │ │ ├── app2 │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ └── app3 │ │ │ │ │ └── federation-remote-entry.js │ │ │ ├── load-remote │ │ │ │ ├── app1 │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ ├── app2 │ │ │ │ │ ├── federation-remote-entry.js │ │ │ │ │ └── say.sync.js │ │ │ │ ├── circulate-dep-app1 │ │ │ │ │ ├── federation-manifest.json │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ ├── circulate-dep-app2 │ │ │ │ │ ├── federation-manifest.json │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ └── diff-instance │ │ │ │ │ └── federation-remote-entry.js │ │ │ ├── main │ │ │ │ ├── federation-manifest.json │ │ │ │ └── federation-remote-entry.js │ │ │ ├── preload │ │ │ │ └── preload-resource │ │ │ │ │ └── federation-remote-entry.js │ │ │ ├── register-remotes │ │ │ │ ├── app1 │ │ │ │ │ ├── federation-remote-entry.js │ │ │ │ │ └── federation-remote-entry2.js │ │ │ │ └── app2 │ │ │ │ │ └── federation-remote-entry.js │ │ │ ├── snapshot │ │ │ │ ├── remote1 │ │ │ │ │ ├── federation-manifest.json │ │ │ │ │ └── federation-remote-entry.js │ │ │ │ └── remote2 │ │ │ │ │ ├── federation-manifest.json │ │ │ │ │ └── federation-remote-entry.js │ │ │ └── version-strategy-app2 │ │ │ │ └── federation-remote-entry.js │ │ ├── semver.spec.ts │ │ ├── setup.ts │ │ ├── share.ts │ │ ├── shares.spec.ts │ │ └── snapshot.spec.ts │ ├── global.d.ts │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── rollup.config.cjs │ ├── src │ │ ├── core.ts │ │ ├── helpers.ts │ │ ├── index.ts │ │ ├── types.ts │ │ └── utils.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── vitest.config.ts ├── sdk │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ │ ├── decodeName.spec.ts │ │ ├── dom.spec.ts │ │ ├── encodeName.spec.ts │ │ ├── generateSnapshotFromManifest.spec.ts │ │ ├── inferAutoPublicPath.spec.ts │ │ ├── normalizeOptions.spec.ts │ │ ├── parseEntry.spec.ts │ │ ├── resources │ │ │ ├── constant.ts │ │ │ ├── getId.ts │ │ │ └── manifestSnapshotMap.ts │ │ ├── simpleJoinRemoteEntry.spec.ts │ │ └── utils.spec.ts │ ├── jest.config.cjs │ ├── package.json │ ├── project.json │ ├── rollup.config.cjs │ ├── src │ │ ├── constant.ts │ │ ├── dom.ts │ │ ├── env.ts │ │ ├── generateSnapshotFromManifest.ts │ │ ├── index.ts │ │ ├── logger.ts │ │ ├── node.ts │ │ ├── normalize-webpack-path.ts │ │ ├── normalizeOptions.ts │ │ ├── types │ │ │ ├── common.ts │ │ │ ├── hooks.ts │ │ │ ├── index.ts │ │ │ ├── manifest.ts │ │ │ ├── plugins │ │ │ │ ├── ContainerPlugin.ts │ │ │ │ ├── ContainerReferencePlugin.ts │ │ │ │ ├── ModuleFederationPlugin.ts │ │ │ │ ├── SharePlugin.ts │ │ │ │ └── index.ts │ │ │ ├── snapshot.ts │ │ │ └── stats.ts │ │ └── utils.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── storybook-addon │ ├── .babelrc │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── README.md │ ├── jest.config.ts │ ├── package.json │ ├── preset.ts │ ├── project.json │ ├── src │ │ ├── index.ts │ │ ├── lib │ │ │ ├── storybook-addon.spec.ts │ │ │ └── storybook-addon.ts │ │ └── utils │ │ │ ├── correctImportPath.spec.ts │ │ │ ├── correctImportPath.ts │ │ │ ├── with-module-federation-enhanced-rsbuild.ts │ │ │ └── with-module-federation.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── third-party-dts-extractor │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── project.json │ ├── src │ │ ├── ThirdPartyExtractor.spec.ts │ │ ├── ThirdPartyExtractor.ts │ │ ├── index.ts │ │ └── utils.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ ├── tsup.config.ts │ ├── typedoc.json │ └── vite.config.ts ├── typescript │ ├── .eslintrc.json │ ├── .swcrc │ ├── CHANGELOG.md │ ├── README.md │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── Logger.ts │ │ ├── constants.ts │ │ ├── index.ts │ │ ├── lib │ │ │ ├── Caching.ts │ │ │ ├── TypescriptCompiler.ts │ │ │ ├── download.ts │ │ │ ├── generateTypesStats.ts │ │ │ ├── normalizeOptions.ts │ │ │ └── server.ts │ │ ├── plugins │ │ │ └── FederatedTypesPlugin.ts │ │ └── types │ │ │ └── index.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ └── typedoc.json ├── utilities │ ├── .babelrc │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── Logger.ts │ │ ├── components │ │ │ ├── ErrorBoundary.tsx │ │ │ └── FederationBoundary.tsx │ │ ├── index.ts │ │ ├── plugins │ │ │ └── DelegateModulesPlugin.ts │ │ ├── types │ │ │ ├── global.d.ts │ │ │ └── index.ts │ │ └── utils │ │ │ ├── common.ts │ │ │ ├── getRuntimeRemotes.test.ts │ │ │ ├── getRuntimeRemotes.ts │ │ │ ├── importDelegateModule.test.ts │ │ │ ├── importDelegatedModule.ts │ │ │ ├── importRemote.ts │ │ │ ├── isEmpty.ts │ │ │ ├── pure.ts │ │ │ └── react.tsx │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json └── webpack-bundler-runtime │ ├── .swcrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ ├── attachShareScopeMap.spec.ts │ ├── constant.spec.ts │ ├── consumes.spec.ts │ ├── federation.spec.ts │ ├── initContainerEntry.array.spec.ts │ ├── initContainerEntry.non-array.spec.ts │ ├── initializeSharing.spec.ts │ ├── installInitialConsumes.spec.ts │ └── remotes.spec.ts │ ├── jest.config.cjs │ ├── package.json │ ├── project.json │ ├── rollup.config.cjs │ ├── src │ ├── attachShareScopeMap.ts │ ├── constant.ts │ ├── consumes.ts │ ├── container.ts │ ├── index.ts │ ├── initContainerEntry.ts │ ├── initializeSharing.ts │ ├── installInitialConsumes.ts │ ├── remotes.ts │ └── types.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── renovate.json ├── scripts ├── local-registry.sh └── update-next-to-latest-at-npm.sh ├── tools ├── generators │ └── .gitkeep ├── scripts │ ├── ci-is-affected.mjs │ └── publish.mjs └── tsconfig.tools.json ├── tsconfig.base.json ├── tsconfig.tmp.json ├── typedoc.base.json ├── typedoc.json └── webpack ├── benchmark ├── benchmark.d.ts ├── createBenchmark.d.ts ├── createFixtures.d.ts ├── createFixtures2.d.ts ├── createTestCases.d.ts ├── md4-cache.d.ts ├── md4.d.ts ├── micro-compare.d.ts ├── xxhash64-vs-md4.d.ts └── xxhash64.d.ts ├── bin └── webpack.d.ts ├── declarations.d.ts ├── declarations.test.d.ts ├── declarations ├── LoaderContext.d.ts ├── WebpackOptions.d.ts ├── index.d.ts └── plugins │ ├── BannerPlugin.d.ts │ ├── DllPlugin.d.ts │ ├── DllReferencePlugin.d.ts │ ├── HashedModuleIdsPlugin.d.ts │ ├── IgnorePlugin.d.ts │ ├── JsonModulesPluginParser.d.ts │ ├── LoaderOptionsPlugin.d.ts │ ├── ProgressPlugin.d.ts │ ├── SourceMapDevToolPlugin.d.ts │ ├── WatchIgnorePlugin.d.ts │ ├── container │ ├── ContainerPlugin.d.ts │ ├── ContainerReferencePlugin.d.ts │ └── ModuleFederationPlugin.d.ts │ ├── debug │ └── ProfilingPlugin.d.ts │ ├── ids │ ├── OccurrenceChunkIdsPlugin.d.ts │ └── OccurrenceModuleIdsPlugin.d.ts │ ├── optimize │ ├── AggressiveSplittingPlugin.d.ts │ ├── LimitChunkCountPlugin.d.ts │ └── MinChunkSizePlugin.d.ts │ ├── schemes │ └── HttpUriPlugin.d.ts │ └── sharing │ ├── ConsumeSharedPlugin.d.ts │ ├── ProvideSharedPlugin.d.ts │ └── SharePlugin.d.ts ├── examples ├── build-common.d.ts ├── buildAll.d.ts ├── examples.d.ts ├── template-common.d.ts └── wasm-bindgen-esm │ └── pkg │ ├── hi_wasm.d.ts │ └── hi_wasm_bg.wasm.d.ts ├── hot ├── dev-server.d.ts ├── emitter.d.ts ├── lazy-compilation-node.d.ts ├── lazy-compilation-web.d.ts ├── log-apply-result.d.ts ├── log.d.ts ├── only-dev-server.d.ts ├── poll.d.ts └── signal.d.ts ├── lib ├── APIPlugin.d.ts ├── AbstractMethodError.d.ts ├── AsyncDependenciesBlock.d.ts ├── AsyncDependencyToInitialChunkError.d.ts ├── AutomaticPrefetchPlugin.d.ts ├── BannerPlugin.d.ts ├── Cache.d.ts ├── CacheFacade.d.ts ├── CaseSensitiveModulesWarning.d.ts ├── Chunk.d.ts ├── ChunkGraph.d.ts ├── ChunkGroup.d.ts ├── ChunkRenderError.d.ts ├── ChunkTemplate.d.ts ├── CleanPlugin.d.ts ├── CodeGenerationError.d.ts ├── CodeGenerationResults.d.ts ├── CommentCompilationWarning.d.ts ├── CompatibilityPlugin.d.ts ├── Compilation.d.ts ├── Compiler.d.ts ├── ConcatenationScope.d.ts ├── ConcurrentCompilationError.d.ts ├── ConditionalInitFragment.d.ts ├── ConstPlugin.d.ts ├── ContextExclusionPlugin.d.ts ├── ContextModule.d.ts ├── ContextModuleFactory.d.ts ├── ContextReplacementPlugin.d.ts ├── CssModule.d.ts ├── DefinePlugin.d.ts ├── DelegatedModule.d.ts ├── DelegatedModuleFactoryPlugin.d.ts ├── DelegatedPlugin.d.ts ├── DependenciesBlock.d.ts ├── Dependency.d.ts ├── DependencyTemplate.d.ts ├── DependencyTemplates.d.ts ├── DllEntryPlugin.d.ts ├── DllModule.d.ts ├── DllModuleFactory.d.ts ├── DllPlugin.d.ts ├── DllReferencePlugin.d.ts ├── DynamicEntryPlugin.d.ts ├── EntryOptionPlugin.d.ts ├── EntryPlugin.d.ts ├── Entrypoint.d.ts ├── EnvironmentPlugin.d.ts ├── ErrorHelpers.d.ts ├── EvalDevToolModulePlugin.d.ts ├── EvalSourceMapDevToolPlugin.d.ts ├── ExportsInfo.d.ts ├── ExportsInfoApiPlugin.d.ts ├── ExternalModule.d.ts ├── ExternalModuleFactoryPlugin.d.ts ├── ExternalsPlugin.d.ts ├── FileSystemInfo.d.ts ├── FlagAllModulesAsUsedPlugin.d.ts ├── FlagDependencyExportsPlugin.d.ts ├── FlagDependencyUsagePlugin.d.ts ├── FlagEntryExportAsUsedPlugin.d.ts ├── Generator.d.ts ├── GraphHelpers.d.ts ├── HarmonyLinkingError.d.ts ├── HookWebpackError.d.ts ├── HotModuleReplacementPlugin.d.ts ├── HotUpdateChunk.d.ts ├── IgnoreErrorModuleFactory.d.ts ├── IgnorePlugin.d.ts ├── IgnoreWarningsPlugin.d.ts ├── InitFragment.d.ts ├── InvalidDependenciesModuleWarning.d.ts ├── JavascriptMetaInfoPlugin.d.ts ├── LibManifestPlugin.d.ts ├── LibraryTemplatePlugin.d.ts ├── LoaderOptionsPlugin.d.ts ├── LoaderTargetPlugin.d.ts ├── MainTemplate.d.ts ├── Module.d.ts ├── ModuleBuildError.d.ts ├── ModuleDependencyError.d.ts ├── ModuleDependencyWarning.d.ts ├── ModuleError.d.ts ├── ModuleFactory.d.ts ├── ModuleFilenameHelpers.d.ts ├── ModuleGraph.d.ts ├── ModuleGraphConnection.d.ts ├── ModuleHashingError.d.ts ├── ModuleInfoHeaderPlugin.d.ts ├── ModuleNotFoundError.d.ts ├── ModuleParseError.d.ts ├── ModuleProfile.d.ts ├── ModuleRestoreError.d.ts ├── ModuleStoreError.d.ts ├── ModuleTemplate.d.ts ├── ModuleTypeConstants.d.ts ├── ModuleWarning.d.ts ├── MultiCompiler.d.ts ├── MultiStats.d.ts ├── MultiWatching.d.ts ├── NoEmitOnErrorsPlugin.d.ts ├── NoModeWarning.d.ts ├── NodeStuffInWebError.d.ts ├── NodeStuffPlugin.d.ts ├── NormalModule.d.ts ├── NormalModuleFactory.d.ts ├── NormalModuleReplacementPlugin.d.ts ├── NullFactory.d.ts ├── OptimizationStages.d.ts ├── OptionsApply.d.ts ├── Parser.d.ts ├── PrefetchPlugin.d.ts ├── ProgressPlugin.d.ts ├── ProvidePlugin.d.ts ├── RawModule.d.ts ├── RecordIdsPlugin.d.ts ├── RequestShortener.d.ts ├── RequireJsStuffPlugin.d.ts ├── ResolverFactory.d.ts ├── RuntimeGlobals.d.ts ├── RuntimeModule.d.ts ├── RuntimePlugin.d.ts ├── RuntimeTemplate.d.ts ├── SelfModuleFactory.d.ts ├── SingleEntryPlugin.d.ts ├── SizeFormatHelpers.d.ts ├── SourceMapDevToolModuleOptionsPlugin.d.ts ├── SourceMapDevToolPlugin.d.ts ├── Stats.d.ts ├── Template.d.ts ├── TemplatedPathPlugin.d.ts ├── UnhandledSchemeError.d.ts ├── UnsupportedFeatureWarning.d.ts ├── UseStrictPlugin.d.ts ├── WarnCaseSensitiveModulesPlugin.d.ts ├── WarnDeprecatedOptionPlugin.d.ts ├── WarnNoModeSetPlugin.d.ts ├── WatchIgnorePlugin.d.ts ├── Watching.d.ts ├── WebpackError.d.ts ├── WebpackIsIncludedPlugin.d.ts ├── WebpackOptionsApply.d.ts ├── WebpackOptionsDefaulter.d.ts ├── asset │ ├── AssetGenerator.d.ts │ ├── AssetModulesPlugin.d.ts │ ├── AssetParser.d.ts │ ├── AssetSourceGenerator.d.ts │ ├── AssetSourceParser.d.ts │ └── RawDataUrlModule.d.ts ├── async-modules │ ├── AwaitDependenciesInitFragment.d.ts │ └── InferAsyncModulesPlugin.d.ts ├── buildChunkGraph.d.ts ├── cache │ ├── AddBuildDependenciesPlugin.d.ts │ ├── AddManagedPathsPlugin.d.ts │ ├── IdleFileCachePlugin.d.ts │ ├── MemoryCachePlugin.d.ts │ ├── MemoryWithGcCachePlugin.d.ts │ ├── PackFileCacheStrategy.d.ts │ ├── ResolverCachePlugin.d.ts │ ├── getLazyHashedEtag.d.ts │ └── mergeEtags.d.ts ├── cli.d.ts ├── config │ ├── browserslistTargetHandler.d.ts │ ├── defaults.d.ts │ ├── normalization.d.ts │ └── target.d.ts ├── container │ ├── ContainerEntryDependency.d.ts │ ├── ContainerEntryModule.d.ts │ ├── ContainerEntryModuleFactory.d.ts │ ├── ContainerExposedDependency.d.ts │ ├── ContainerPlugin.d.ts │ ├── ContainerReferencePlugin.d.ts │ ├── FallbackDependency.d.ts │ ├── FallbackItemDependency.d.ts │ ├── FallbackModule.d.ts │ ├── FallbackModuleFactory.d.ts │ ├── ModuleFederationPlugin.d.ts │ ├── RemoteModule.d.ts │ ├── RemoteRuntimeModule.d.ts │ ├── RemoteToExternalDependency.d.ts │ └── options.d.ts ├── css │ ├── CssExportsGenerator.d.ts │ ├── CssGenerator.d.ts │ ├── CssLoadingRuntimeModule.d.ts │ ├── CssModulesPlugin.d.ts │ ├── CssParser.d.ts │ └── walkCssTokens.d.ts ├── debug │ └── ProfilingPlugin.d.ts ├── dependencies │ ├── AMDDefineDependency.d.ts │ ├── AMDDefineDependencyParserPlugin.d.ts │ ├── AMDPlugin.d.ts │ ├── AMDRequireArrayDependency.d.ts │ ├── AMDRequireContextDependency.d.ts │ ├── AMDRequireDependenciesBlock.d.ts │ ├── AMDRequireDependenciesBlockParserPlugin.d.ts │ ├── AMDRequireDependency.d.ts │ ├── AMDRequireItemDependency.d.ts │ ├── AMDRuntimeModules.d.ts │ ├── CachedConstDependency.d.ts │ ├── CommonJsDependencyHelpers.d.ts │ ├── CommonJsExportRequireDependency.d.ts │ ├── CommonJsExportsDependency.d.ts │ ├── CommonJsExportsParserPlugin.d.ts │ ├── CommonJsFullRequireDependency.d.ts │ ├── CommonJsImportsParserPlugin.d.ts │ ├── CommonJsPlugin.d.ts │ ├── CommonJsRequireContextDependency.d.ts │ ├── CommonJsRequireDependency.d.ts │ ├── CommonJsSelfReferenceDependency.d.ts │ ├── ConstDependency.d.ts │ ├── ContextDependency.d.ts │ ├── ContextDependencyHelpers.d.ts │ ├── ContextDependencyTemplateAsId.d.ts │ ├── ContextDependencyTemplateAsRequireCall.d.ts │ ├── ContextElementDependency.d.ts │ ├── CreateScriptUrlDependency.d.ts │ ├── CriticalDependencyWarning.d.ts │ ├── CssExportDependency.d.ts │ ├── CssImportDependency.d.ts │ ├── CssLocalIdentifierDependency.d.ts │ ├── CssSelfLocalIdentifierDependency.d.ts │ ├── CssUrlDependency.d.ts │ ├── DelegatedSourceDependency.d.ts │ ├── DllEntryDependency.d.ts │ ├── DynamicExports.d.ts │ ├── EntryDependency.d.ts │ ├── ExportsInfoDependency.d.ts │ ├── HarmonyAcceptDependency.d.ts │ ├── HarmonyAcceptImportDependency.d.ts │ ├── HarmonyCompatibilityDependency.d.ts │ ├── HarmonyDetectionParserPlugin.d.ts │ ├── HarmonyEvaluatedImportSpecifierDependency.d.ts │ ├── HarmonyExportDependencyParserPlugin.d.ts │ ├── HarmonyExportExpressionDependency.d.ts │ ├── HarmonyExportHeaderDependency.d.ts │ ├── HarmonyExportImportedSpecifierDependency.d.ts │ ├── HarmonyExportInitFragment.d.ts │ ├── HarmonyExportSpecifierDependency.d.ts │ ├── HarmonyExports.d.ts │ ├── HarmonyImportDependency.d.ts │ ├── HarmonyImportDependencyParserPlugin.d.ts │ ├── HarmonyImportSideEffectDependency.d.ts │ ├── HarmonyImportSpecifierDependency.d.ts │ ├── HarmonyModulesPlugin.d.ts │ ├── HarmonyTopLevelThisParserPlugin.d.ts │ ├── ImportContextDependency.d.ts │ ├── ImportDependency.d.ts │ ├── ImportEagerDependency.d.ts │ ├── ImportMetaContextDependency.d.ts │ ├── ImportMetaContextDependencyParserPlugin.d.ts │ ├── ImportMetaContextPlugin.d.ts │ ├── ImportMetaHotAcceptDependency.d.ts │ ├── ImportMetaHotDeclineDependency.d.ts │ ├── ImportMetaPlugin.d.ts │ ├── ImportParserPlugin.d.ts │ ├── ImportPlugin.d.ts │ ├── ImportWeakDependency.d.ts │ ├── JsonExportsDependency.d.ts │ ├── LoaderDependency.d.ts │ ├── LoaderImportDependency.d.ts │ ├── LoaderPlugin.d.ts │ ├── LocalModule.d.ts │ ├── LocalModuleDependency.d.ts │ ├── LocalModulesHelpers.d.ts │ ├── ModuleDecoratorDependency.d.ts │ ├── ModuleDependency.d.ts │ ├── ModuleDependencyTemplateAsId.d.ts │ ├── ModuleDependencyTemplateAsRequireId.d.ts │ ├── ModuleHotAcceptDependency.d.ts │ ├── ModuleHotDeclineDependency.d.ts │ ├── NullDependency.d.ts │ ├── PrefetchDependency.d.ts │ ├── ProvidedDependency.d.ts │ ├── PureExpressionDependency.d.ts │ ├── RequireContextDependency.d.ts │ ├── RequireContextDependencyParserPlugin.d.ts │ ├── RequireContextPlugin.d.ts │ ├── RequireEnsureDependenciesBlock.d.ts │ ├── RequireEnsureDependenciesBlockParserPlugin.d.ts │ ├── RequireEnsureDependency.d.ts │ ├── RequireEnsureItemDependency.d.ts │ ├── RequireEnsurePlugin.d.ts │ ├── RequireHeaderDependency.d.ts │ ├── RequireIncludeDependency.d.ts │ ├── RequireIncludeDependencyParserPlugin.d.ts │ ├── RequireIncludePlugin.d.ts │ ├── RequireResolveContextDependency.d.ts │ ├── RequireResolveDependency.d.ts │ ├── RequireResolveHeaderDependency.d.ts │ ├── RuntimeRequirementsDependency.d.ts │ ├── StaticExportsDependency.d.ts │ ├── SystemPlugin.d.ts │ ├── SystemRuntimeModule.d.ts │ ├── URLDependency.d.ts │ ├── URLPlugin.d.ts │ ├── UnsupportedDependency.d.ts │ ├── WebAssemblyExportImportedDependency.d.ts │ ├── WebAssemblyImportDependency.d.ts │ ├── WebpackIsIncludedDependency.d.ts │ ├── WorkerDependency.d.ts │ ├── WorkerPlugin.d.ts │ ├── getFunctionExpression.d.ts │ └── processExportInfo.d.ts ├── electron │ └── ElectronTargetPlugin.d.ts ├── errors │ └── BuildCycleError.d.ts ├── esm │ ├── ExportWebpackRequireRuntimeModule.d.ts │ ├── ModuleChunkFormatPlugin.d.ts │ ├── ModuleChunkLoadingPlugin.d.ts │ └── ModuleChunkLoadingRuntimeModule.d.ts ├── formatLocation.d.ts ├── hmr │ ├── HotModuleReplacement.runtime.d.ts │ ├── HotModuleReplacementRuntimeModule.d.ts │ ├── JavascriptHotModuleReplacement.runtime.d.ts │ ├── LazyCompilationPlugin.d.ts │ └── lazyCompilationBackend.d.ts ├── ids │ ├── ChunkModuleIdRangePlugin.d.ts │ ├── DeterministicChunkIdsPlugin.d.ts │ ├── DeterministicModuleIdsPlugin.d.ts │ ├── HashedModuleIdsPlugin.d.ts │ ├── IdHelpers.d.ts │ ├── NamedChunkIdsPlugin.d.ts │ ├── NamedModuleIdsPlugin.d.ts │ ├── NaturalChunkIdsPlugin.d.ts │ ├── NaturalModuleIdsPlugin.d.ts │ ├── OccurrenceChunkIdsPlugin.d.ts │ ├── OccurrenceModuleIdsPlugin.d.ts │ └── SyncModuleIdsPlugin.d.ts ├── index.d.ts ├── javascript │ ├── ArrayPushCallbackChunkFormatPlugin.d.ts │ ├── BasicEvaluatedExpression.d.ts │ ├── ChunkHelpers.d.ts │ ├── CommonJsChunkFormatPlugin.d.ts │ ├── EnableChunkLoadingPlugin.d.ts │ ├── JavascriptGenerator.d.ts │ ├── JavascriptModulesPlugin.d.ts │ ├── JavascriptParser.d.ts │ ├── JavascriptParserHelpers.d.ts │ └── StartupHelpers.d.ts ├── json │ ├── JsonData.d.ts │ ├── JsonGenerator.d.ts │ ├── JsonModulesPlugin.d.ts │ └── JsonParser.d.ts ├── library │ ├── AbstractLibraryPlugin.d.ts │ ├── AmdLibraryPlugin.d.ts │ ├── AssignLibraryPlugin.d.ts │ ├── EnableLibraryPlugin.d.ts │ ├── ExportPropertyLibraryPlugin.d.ts │ ├── JsonpLibraryPlugin.d.ts │ ├── ModuleLibraryPlugin.d.ts │ ├── SystemLibraryPlugin.d.ts │ └── UmdLibraryPlugin.d.ts ├── logging │ ├── Logger.d.ts │ ├── createConsoleLogger.d.ts │ └── truncateArgs.d.ts ├── node │ ├── CommonJsChunkLoadingPlugin.d.ts │ ├── NodeEnvironmentPlugin.d.ts │ ├── NodeSourcePlugin.d.ts │ ├── NodeTargetPlugin.d.ts │ ├── NodeTemplatePlugin.d.ts │ ├── NodeWatchFileSystem.d.ts │ ├── ReadFileChunkLoadingRuntimeModule.d.ts │ ├── ReadFileCompileAsyncWasmPlugin.d.ts │ ├── ReadFileCompileWasmPlugin.d.ts │ ├── RequireChunkLoadingRuntimeModule.d.ts │ └── nodeConsole.d.ts ├── optimize │ ├── AggressiveMergingPlugin.d.ts │ ├── AggressiveSplittingPlugin.d.ts │ ├── ConcatenatedModule.d.ts │ ├── EnsureChunkConditionsPlugin.d.ts │ ├── FlagIncludedChunksPlugin.d.ts │ ├── InnerGraph.d.ts │ ├── InnerGraphPlugin.d.ts │ ├── LimitChunkCountPlugin.d.ts │ ├── MangleExportsPlugin.d.ts │ ├── MergeDuplicateChunksPlugin.d.ts │ ├── MinChunkSizePlugin.d.ts │ ├── MinMaxSizeWarning.d.ts │ ├── ModuleConcatenationPlugin.d.ts │ ├── RealContentHashPlugin.d.ts │ ├── RemoveEmptyChunksPlugin.d.ts │ ├── RemoveParentModulesPlugin.d.ts │ ├── RuntimeChunkPlugin.d.ts │ ├── SideEffectsFlagPlugin.d.ts │ └── SplitChunksPlugin.d.ts ├── performance │ ├── AssetsOverSizeLimitWarning.d.ts │ ├── EntrypointsOverSizeLimitWarning.d.ts │ ├── NoAsyncChunksWarning.d.ts │ └── SizeLimitsPlugin.d.ts ├── prefetch │ ├── ChunkPrefetchFunctionRuntimeModule.d.ts │ ├── ChunkPrefetchPreloadPlugin.d.ts │ ├── ChunkPrefetchStartupRuntimeModule.d.ts │ ├── ChunkPrefetchTriggerRuntimeModule.d.ts │ └── ChunkPreloadTriggerRuntimeModule.d.ts ├── rules │ ├── BasicEffectRulePlugin.d.ts │ ├── BasicMatcherRulePlugin.d.ts │ ├── ObjectMatcherRulePlugin.d.ts │ ├── RuleSetCompiler.d.ts │ └── UseEffectRulePlugin.d.ts ├── runtime │ ├── AsyncModuleRuntimeModule.d.ts │ ├── AutoPublicPathRuntimeModule.d.ts │ ├── BaseUriRuntimeModule.d.ts │ ├── ChunkNameRuntimeModule.d.ts │ ├── CompatGetDefaultExportRuntimeModule.d.ts │ ├── CompatRuntimeModule.d.ts │ ├── CreateFakeNamespaceObjectRuntimeModule.d.ts │ ├── CreateScriptRuntimeModule.d.ts │ ├── CreateScriptUrlRuntimeModule.d.ts │ ├── DefinePropertyGettersRuntimeModule.d.ts │ ├── EnsureChunkRuntimeModule.d.ts │ ├── GetChunkFilenameRuntimeModule.d.ts │ ├── GetFullHashRuntimeModule.d.ts │ ├── GetMainFilenameRuntimeModule.d.ts │ ├── GetTrustedTypesPolicyRuntimeModule.d.ts │ ├── GlobalRuntimeModule.d.ts │ ├── HasOwnPropertyRuntimeModule.d.ts │ ├── HelperRuntimeModule.d.ts │ ├── LoadScriptRuntimeModule.d.ts │ ├── MakeNamespaceObjectRuntimeModule.d.ts │ ├── MfStartupChunkDependenciesPlugin.d.ts │ ├── NonceRuntimeModule.d.ts │ ├── OnChunksLoadedRuntimeModule.d.ts │ ├── PublicPathRuntimeModule.d.ts │ ├── RelativeUrlRuntimeModule.d.ts │ ├── RuntimeIdRuntimeModule.d.ts │ ├── StartupChunkDependenciesPlugin.d.ts │ ├── StartupChunkDependenciesRuntimeModule.d.ts │ ├── StartupEntrypointRuntimeModule.d.ts │ └── SystemContextRuntimeModule.d.ts ├── schemes │ ├── DataUriPlugin.d.ts │ ├── FileUriPlugin.d.ts │ └── HttpUriPlugin.d.ts ├── serialization │ ├── ArraySerializer.d.ts │ ├── BinaryMiddleware.d.ts │ ├── DateObjectSerializer.d.ts │ ├── ErrorObjectSerializer.d.ts │ ├── FileMiddleware.d.ts │ ├── MapObjectSerializer.d.ts │ ├── NullPrototypeObjectSerializer.d.ts │ ├── ObjectMiddleware.d.ts │ ├── PlainObjectSerializer.d.ts │ ├── RegExpObjectSerializer.d.ts │ ├── Serializer.d.ts │ ├── SerializerMiddleware.d.ts │ ├── SetObjectSerializer.d.ts │ ├── SingleItemMiddleware.d.ts │ └── types.d.ts ├── sharing │ ├── ConsumeSharedFallbackDependency.d.ts │ ├── ConsumeSharedModule.d.ts │ ├── ConsumeSharedPlugin.d.ts │ ├── ConsumeSharedRuntimeModule.d.ts │ ├── ProvideForSharedDependency.d.ts │ ├── ProvideSharedDependency.d.ts │ ├── ProvideSharedModule.d.ts │ ├── ProvideSharedModuleFactory.d.ts │ ├── ProvideSharedPlugin.d.ts │ ├── SharePlugin.d.ts │ ├── ShareRuntimeModule.d.ts │ ├── resolveMatchedConfigs.d.ts │ └── utils.d.ts ├── stats │ ├── DefaultStatsFactoryPlugin.d.ts │ ├── DefaultStatsPresetPlugin.d.ts │ ├── DefaultStatsPrinterPlugin.d.ts │ ├── StatsFactory.d.ts │ └── StatsPrinter.d.ts ├── util │ ├── ArrayHelpers.d.ts │ ├── ArrayQueue.d.ts │ ├── AsyncQueue.d.ts │ ├── Hash.d.ts │ ├── IterableHelpers.d.ts │ ├── LazyBucketSortedSet.d.ts │ ├── LazySet.d.ts │ ├── MapHelpers.d.ts │ ├── ParallelismFactorCalculator.d.ts │ ├── Queue.d.ts │ ├── SetHelpers.d.ts │ ├── SortableSet.d.ts │ ├── StackedCacheMap.d.ts │ ├── StackedMap.d.ts │ ├── StringXor.d.ts │ ├── TupleQueue.d.ts │ ├── TupleSet.d.ts │ ├── URLAbsoluteSpecifier.d.ts │ ├── WeakTupleMap.d.ts │ ├── binarySearchBounds.d.ts │ ├── cleverMerge.d.ts │ ├── comparators.d.ts │ ├── compileBooleanMatcher.d.ts │ ├── create-schema-validation.d.ts │ ├── createHash.d.ts │ ├── deprecation.d.ts │ ├── deterministicGrouping.d.ts │ ├── extractUrlAndGlobal.d.ts │ ├── findGraphRoots.d.ts │ ├── fs.d.ts │ ├── hash │ │ ├── BatchedHash.d.ts │ │ ├── md4.d.ts │ │ ├── wasm-hash.d.ts │ │ └── xxhash64.d.ts │ ├── identifier.d.ts │ ├── internalSerializables.d.ts │ ├── makeSerializable.d.ts │ ├── memoize.d.ts │ ├── nonNumericOnlyHash.d.ts │ ├── numberHash.d.ts │ ├── objectToMap.d.ts │ ├── processAsyncTree.d.ts │ ├── propertyAccess.d.ts │ ├── propertyName.d.ts │ ├── registerExternalSerializer.d.ts │ ├── runtime.d.ts │ ├── semver.d.ts │ ├── serialization.d.ts │ ├── smartGrouping.d.ts │ └── source.d.ts ├── validateSchema.d.ts ├── wasm-async │ ├── AsyncWasmLoadingRuntimeModule.d.ts │ ├── AsyncWebAssemblyGenerator.d.ts │ ├── AsyncWebAssemblyJavascriptGenerator.d.ts │ ├── AsyncWebAssemblyModulesPlugin.d.ts │ └── AsyncWebAssemblyParser.d.ts ├── wasm-sync │ ├── UnsupportedWebAssemblyFeatureError.d.ts │ ├── WasmChunkLoadingRuntimeModule.d.ts │ ├── WasmFinalizeExportsPlugin.d.ts │ ├── WebAssemblyGenerator.d.ts │ ├── WebAssemblyInInitialChunkError.d.ts │ ├── WebAssemblyJavascriptGenerator.d.ts │ ├── WebAssemblyModulesPlugin.d.ts │ ├── WebAssemblyParser.d.ts │ └── WebAssemblyUtils.d.ts ├── wasm │ └── EnableWasmLoadingPlugin.d.ts ├── web │ ├── FetchCompileAsyncWasmPlugin.d.ts │ ├── FetchCompileWasmPlugin.d.ts │ ├── JsonpChunkLoadingPlugin.d.ts │ ├── JsonpChunkLoadingRuntimeModule.d.ts │ └── JsonpTemplatePlugin.d.ts ├── webpack.d.ts └── webworker │ ├── ImportScriptsChunkLoadingPlugin.d.ts │ ├── ImportScriptsChunkLoadingRuntimeModule.d.ts │ └── WebWorkerTemplatePlugin.d.ts ├── module.d.ts ├── package.json ├── schemas ├── WebpackOptions.check.d.ts └── plugins │ ├── BannerPlugin.check.d.ts │ ├── DllPlugin.check.d.ts │ ├── DllReferencePlugin.check.d.ts │ ├── HashedModuleIdsPlugin.check.d.ts │ ├── IgnorePlugin.check.d.ts │ ├── JsonModulesPluginParser.check.d.ts │ ├── LoaderOptionsPlugin.check.d.ts │ ├── ProgressPlugin.check.d.ts │ ├── SourceMapDevToolPlugin.check.d.ts │ ├── WatchIgnorePlugin.check.d.ts │ ├── asset │ ├── AssetGeneratorOptions.check.d.ts │ ├── AssetInlineGeneratorOptions.check.d.ts │ ├── AssetParserOptions.check.d.ts │ └── AssetResourceGeneratorOptions.check.d.ts │ ├── container │ ├── ContainerPlugin.check.d.ts │ ├── ContainerReferencePlugin.check.d.ts │ ├── ExternalsType.check.d.ts │ └── ModuleFederationPlugin.check.d.ts │ ├── css │ ├── CssGeneratorOptions.check.d.ts │ └── CssParserOptions.check.d.ts │ ├── debug │ └── ProfilingPlugin.check.d.ts │ ├── ids │ ├── OccurrenceChunkIdsPlugin.check.d.ts │ └── OccurrenceModuleIdsPlugin.check.d.ts │ ├── optimize │ ├── AggressiveSplittingPlugin.check.d.ts │ ├── LimitChunkCountPlugin.check.d.ts │ └── MinChunkSizePlugin.check.d.ts │ ├── schemes │ └── HttpUriPlugin.check.d.ts │ └── sharing │ ├── ConsumeSharedPlugin.check.d.ts │ ├── ProvideSharedPlugin.check.d.ts │ └── SharePlugin.check.d.ts ├── setup └── setup.d.ts ├── test ├── AbstractMethodError.unittest.d.ts ├── ArrayHelpers.unittest.d.ts ├── BannerPlugin.test.d.ts ├── BenchmarkTestCases.benchmark.d.ts ├── BinaryMiddleware.unittest.d.ts ├── BuildDependencies.longtest.d.ts ├── ChangesAndRemovals.test.d.ts ├── Chunk.unittest.d.ts ├── Cli.basictest.d.ts ├── Compiler-caching.test.d.ts ├── Compiler-filesystem-caching.test.d.ts ├── Compiler.test.d.ts ├── ConfigCacheTestCases.longtest.d.ts ├── ConfigTestCases.basictest.d.ts ├── ConfigTestCases.template.d.ts ├── ContextModule.unittest.d.ts ├── ContextModuleFactory.unittest.d.ts ├── Defaults.unittest.d.ts ├── Errors.test.d.ts ├── Examples.test.d.ts ├── FileSystemInfo.unittest.d.ts ├── HotModuleReplacementPlugin.test.d.ts ├── HotTestCases.template.d.ts ├── HotTestCasesAsyncNode.test.d.ts ├── HotTestCasesNode.test.d.ts ├── HotTestCasesWeb.test.d.ts ├── HotTestCasesWebWorker.test.d.ts ├── JavascriptParser.unittest.d.ts ├── LazySet.unittest.d.ts ├── LocalModulesHelpers.unittest.d.ts ├── MemoryLimitTestCases.test.d.ts ├── ModuleDependencyError.unittest.d.ts ├── MultiCompiler.test.d.ts ├── MultiItemCache.unittest.d.ts ├── MultiStats.test.d.ts ├── MultiWatching.unittest.d.ts ├── NodeTemplatePlugin.test.d.ts ├── NormalModule.unittest.d.ts ├── NullDependency.unittest.d.ts ├── PersistentCaching.test.d.ts ├── ProfilingPlugin.test.d.ts ├── ProfilingPlugin.unittest.d.ts ├── ProgressPlugin.test.d.ts ├── RawModule.unittest.d.ts ├── RequestShortener.unittest.d.ts ├── RuntimeTemplate.unittest.d.ts ├── SemVer.unittest.d.ts ├── SharingUtil.unittest.d.ts ├── SideEffectsFlagPlugin.unittest.d.ts ├── SizeFormatHelpers.unittest.d.ts ├── SortableSet.unittest.d.ts ├── Stats.test.d.ts ├── StatsTestCases.basictest.d.ts ├── Template.unittest.d.ts ├── TestCases.template.d.ts ├── TestCasesAllCombined.longtest.d.ts ├── TestCasesCachePack.longtest.d.ts ├── TestCasesDevelopment.test.d.ts ├── TestCasesDevtoolCheapSourceMap.test.d.ts ├── TestCasesDevtoolEval.test.d.ts ├── TestCasesDevtoolEvalCheapModuleSourceMap.test.d.ts ├── TestCasesDevtoolEvalCheapSourceMap.test.d.ts ├── TestCasesDevtoolEvalDeterministicModuleIds.test.d.ts ├── TestCasesDevtoolEvalNamedModules.test.d.ts ├── TestCasesDevtoolEvalSourceMap.test.d.ts ├── TestCasesDevtoolInlineCheapSourceMap.test.d.ts ├── TestCasesDevtoolInlineSourceMap.longtest.d.ts ├── TestCasesDevtoolSourceMap.longtest.d.ts ├── TestCasesHot.test.d.ts ├── TestCasesMinimizedSourceMap.longtest.d.ts ├── TestCasesModule.test.d.ts ├── TestCasesNormal.basictest.d.ts ├── TestCasesProdGlobalUsed.test.d.ts ├── TestCasesProduction.longtest.d.ts ├── URLAbsoluteSpecifier.unittest.d.ts ├── Validation.test.d.ts ├── WasmHashes.unittest.d.ts ├── Watch.test.d.ts ├── WatchCacheUnaffectedTestCases.longtest.d.ts ├── WatchClose.test.d.ts ├── WatchDetection.test.d.ts ├── WatchSuspend.test.d.ts ├── WatchTestCases.longtest.d.ts ├── WatchTestCases.template.d.ts ├── WatcherEvents.test.d.ts ├── WebpackError.unittest.d.ts ├── checkArrayExpectation.d.ts ├── cleverMerge.unittest.d.ts ├── compareLocations.unittest.d.ts ├── compileBooleanMatcher.unittest.d.ts ├── deterministicGrouping.unittest.d.ts ├── extractUrlAndGlobal.unittest.d.ts ├── fixtures │ └── errors │ │ └── throw-error-plugin.d.ts ├── formatLocation.unittest.d.ts ├── helpers │ ├── CurrentScript.d.ts │ ├── EventSourceForNode.d.ts │ ├── FakeDocument.d.ts │ ├── asModule.d.ts │ ├── captureStdio.d.ts │ ├── createFakeWorker.d.ts │ ├── createLazyTestEnv.d.ts │ ├── currentWatchStep.d.ts │ ├── deprecationTracking.d.ts │ ├── infrastructureLogErrors.d.ts │ ├── prepareOptions.d.ts │ ├── remove.d.ts │ └── warmup-webpack.d.ts ├── identifier.unittest.d.ts ├── js │ ├── NodeTemplatePlugin │ │ └── result.d.ts │ └── NodeTemplatePluginSingle │ │ └── result2.d.ts ├── nonNumericOnlyHash.unittest.d.ts ├── numberHash.unittest.d.ts ├── objectToMap.unittest.d.ts ├── patch-node-env.d.ts ├── propertyAccess.unittest.d.ts ├── propertyName.unittest.d.ts ├── setupTestFramework.d.ts ├── smartGrouping.unittest.d.ts ├── target-browserslist.unittest.d.ts └── walkCssTokens.unittest.d.ts ├── tooling ├── decode-debug-hash.d.ts ├── generate-runtime-code.d.ts ├── generate-wasm-code.d.ts └── print-cache-file.d.ts └── types.d.ts /.cursor/mcp.json: -------------------------------------------------------------------------------- 1 | { 2 | "mcpServers": { 3 | "nx-mcp": { 4 | "url": "http://localhost:9442/sse" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | vite.config.ts 3 | **/dist/** 4 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | 5 | npm run commitlint ${1} 6 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npm run lint-fix 5 | 6 | git add . -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | legacy-peer-deps=true 2 | no-fund=true 3 | no-audit=true 4 | registry=https://registry.npmjs.org/ 5 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 18.19.1 2 | -------------------------------------------------------------------------------- /.nxignore: -------------------------------------------------------------------------------- 1 | *.md 2 | ./assemble-release-plan 3 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } 4 | -------------------------------------------------------------------------------- /.verdaccio/htpasswd: -------------------------------------------------------------------------------- 1 | test:$6FrCaT/v0dwE:autocreated 2020-03-25T19:10:50.254Z 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "diffEditor.wordWrap": "on", 3 | "editor.rename.enablePreview": false, 4 | "nxConsole.generateAiAgentRules": true 5 | } 6 | -------------------------------------------------------------------------------- /apps/3000-home/.env: -------------------------------------------------------------------------------- 1 | NEXT_PRIVATE_LOCAL_WEBPACK=true 2 | NODE_OPTIONS="--experimental-vm-modules" 3 | -------------------------------------------------------------------------------- /apps/3000-home/components/thing.module.css: -------------------------------------------------------------------------------- 1 | .tjhin { 2 | display: flex; 3 | } 4 | -------------------------------------------------------------------------------- /apps/3000-home/cypress/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getH1 = () => cy.get('h1'); 2 | export const getH2 = () => cy.get('h2'); 3 | export const getH3 = () => cy.get('h3'); 4 | -------------------------------------------------------------------------------- /apps/3000-home/pages/api/test.js: -------------------------------------------------------------------------------- 1 | export default function handler(req, res) { 2 | res.status(200).json({ name: 'John Doe' }); 3 | } 4 | -------------------------------------------------------------------------------- /apps/3000-home/pages/checkout/[...slug].tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import SlugRoute from 'checkout/pages/checkout/[...slug]'; 3 | export default SlugRoute; 4 | -------------------------------------------------------------------------------- /apps/3000-home/pages/checkout/[pid].tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import Pid from 'checkout/pages/checkout/[pid]'; 3 | export default Pid; 4 | -------------------------------------------------------------------------------- /apps/3000-home/pages/checkout/exposed-pages.tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import ExposedPages from 'checkout/pages/checkout/exposed-pages'; 3 | export default ExposedPages; 4 | -------------------------------------------------------------------------------- /apps/3000-home/pages/checkout/test-check-button.tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import CheckButtonPage from 'checkout/pages/checkout/test-check-button'; 3 | 4 | export default CheckButtonPage; 5 | -------------------------------------------------------------------------------- /apps/3000-home/pages/checkout/test-title.tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import CheckoutTitlePage from 'checkout/pages/checkout/test-title'; 3 | export default CheckoutTitlePage; 4 | -------------------------------------------------------------------------------- /apps/3000-home/pages/shop/exposed-pages.js: -------------------------------------------------------------------------------- 1 | import ExposedPages from 'shop/pages/shop/exposed-pages'; 2 | export default ExposedPages; 3 | -------------------------------------------------------------------------------- /apps/3000-home/pages/shop/index.js: -------------------------------------------------------------------------------- 1 | import Shop from 'shop/pages/shop/index'; 2 | const Page = Shop; 3 | Page.getInitialProps = Shop.getInitialProps; 4 | export default Page; 5 | -------------------------------------------------------------------------------- /apps/3000-home/pages/shop/products/[...slug].js: -------------------------------------------------------------------------------- 1 | import ProductPage from 'shop/pages/shop/products/[...slug]'; 2 | export default ProductPage; 3 | -------------------------------------------------------------------------------- /apps/3000-home/pages/shop/test-webpack-png.js: -------------------------------------------------------------------------------- 1 | import TestPng from 'shop/pages/shop/test-webpack-png'; 2 | export default TestPng; 3 | -------------------------------------------------------------------------------- /apps/3000-home/pages/shop/test-webpack-svg.js: -------------------------------------------------------------------------------- 1 | import TestSvg from 'shop/pages/shop/test-webpack-svg'; 2 | export default TestSvg; 3 | -------------------------------------------------------------------------------- /apps/3000-home/public/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/3000-home/public/.gitkeep -------------------------------------------------------------------------------- /apps/3000-home/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/3000-home/public/favicon.ico -------------------------------------------------------------------------------- /apps/3000-home/public/webpack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/3000-home/public/webpack.png -------------------------------------------------------------------------------- /apps/3001-shop/.env: -------------------------------------------------------------------------------- 1 | NEXT_PRIVATE_LOCAL_WEBPACK=true 2 | NODE_OPTIONS="--experimental-vm-modules" 3 | -------------------------------------------------------------------------------- /apps/3001-shop/components/WebpackSvg.tsx: -------------------------------------------------------------------------------- 1 | import svg from '../public/webpack.svg'; 2 | 3 | export default function WebpackSvg() { 4 | return webpack svg; 5 | } 6 | -------------------------------------------------------------------------------- /apps/3001-shop/cypress/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getH1 = () => cy.get('h1'); 2 | export const getH2 = () => cy.get('h2'); 3 | export const getH3 = () => cy.get('h3'); 4 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/checkout/[...slug].tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import SlugRoute from 'checkout/pages/checkout/[...slug]'; 3 | export default SlugRoute; 4 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/checkout/[pid].tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import Pid from 'checkout/pages/checkout/[pid]'; 3 | export default Pid; 4 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/checkout/exposed-pages.tsx: -------------------------------------------------------------------------------- 1 | import ExposedPages from 'checkout/pages/checkout/exposed-pages'; 2 | export default ExposedPages; 3 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/checkout/test-check-button.tsx: -------------------------------------------------------------------------------- 1 | import CheckButtonPage from 'checkout/pages/checkout/test-check-button'; 2 | 3 | export default CheckButtonPage; 4 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/checkout/test-title.tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import CheckoutTitlePage from 'checkout/pages/checkout/test-title'; 3 | export default CheckoutTitlePage; 4 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/home/exposed-pages.tsx: -------------------------------------------------------------------------------- 1 | //@ts-ignore 2 | import ExposedPages from 'home/pages/home/exposed-pages'; 3 | 4 | export default ExposedPages; 5 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/home/test-broken-remotes.tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import TestBrokenRemotes from 'home/pages/home/test-broken-remotes'; 3 | export default TestBrokenRemotes; 4 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/home/test-remote-hook.tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import TestRemoteHook from 'home/pages/home/test-remote-hook'; 3 | export default TestRemoteHook; 4 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/home/test-shared-nav.tsx: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import TestSharedNav from 'home/pages/home/test-shared-nav'; 3 | export default TestSharedNav; 4 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/index.js: -------------------------------------------------------------------------------- 1 | import Home from 'home/pages/index'; 2 | export default Home; 3 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/index.module.css: -------------------------------------------------------------------------------- 1 | .page { 2 | } 3 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/shop/test-webpack-png.tsx: -------------------------------------------------------------------------------- 1 | import WebpackPng from '../../components/WebpackPng'; 2 | 3 | export default function WebpackPngPage() { 4 | return ; 5 | } 6 | -------------------------------------------------------------------------------- /apps/3001-shop/pages/shop/test-webpack-svg.tsx: -------------------------------------------------------------------------------- 1 | import WebpackSvg from '../../components/WebpackSvg'; 2 | 3 | export default function WebpackSvgPage() { 4 | return ; 5 | } 6 | -------------------------------------------------------------------------------- /apps/3001-shop/public/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/3001-shop/public/.gitkeep -------------------------------------------------------------------------------- /apps/3001-shop/public/webpack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/3001-shop/public/webpack.png -------------------------------------------------------------------------------- /apps/3002-checkout/.env: -------------------------------------------------------------------------------- 1 | NEXT_PRIVATE_LOCAL_WEBPACK=true 2 | NODE_OPTIONS="--experimental-vm-modules" 3 | -------------------------------------------------------------------------------- /apps/3002-checkout/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /apps/3002-checkout/cypress/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getH1 = () => cy.get('h1'); 2 | export const getH2 = () => cy.get('h2'); 3 | export const getH3 = () => cy.get('h3'); 4 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/home/exposed-pages.tsx: -------------------------------------------------------------------------------- 1 | import ExposedPages from 'home/pages/home/exposed-pages'; 2 | 3 | export default ExposedPages; 4 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/home/test-broken-remotes.tsx: -------------------------------------------------------------------------------- 1 | import TestBrokenRemotes from 'home/pages/home/test-broken-remotes'; 2 | export default TestBrokenRemotes; 3 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/home/test-remote-hook.tsx: -------------------------------------------------------------------------------- 1 | import TestRemoteHook from 'home/pages/home/test-remote-hook'; 2 | export default TestRemoteHook; 3 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/home/test-shared-nav.tsx: -------------------------------------------------------------------------------- 1 | import TestSharedNav from 'home/pages/home/test-shared-nav'; 2 | export default TestSharedNav; 3 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/index.js: -------------------------------------------------------------------------------- 1 | import Home from 'home/pages/index'; 2 | export default Home; 3 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/shop/exposed-pages.js: -------------------------------------------------------------------------------- 1 | import ExposedPages from 'shop/pages/shop/exposed-pages'; 2 | export default ExposedPages; 3 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/shop/index.js: -------------------------------------------------------------------------------- 1 | import Shop from 'shop/pages/shop/index'; 2 | const Page = Shop; 3 | Page.getInitialProps = Shop.getInitialProps; 4 | export default Page; 5 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/shop/products/[...slug].js: -------------------------------------------------------------------------------- 1 | import ProductPage from 'shop/pages/shop/products/[...slug]'; 2 | export default ProductPage; 3 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/shop/test-webpack-png.js: -------------------------------------------------------------------------------- 1 | import TestPng from 'shop/pages/shop/test-webpack-png'; 2 | export default TestPng; 3 | -------------------------------------------------------------------------------- /apps/3002-checkout/pages/shop/test-webpack-svg.js: -------------------------------------------------------------------------------- 1 | import TestSvg from 'shop/pages/shop/test-webpack-svg'; 2 | export default TestSvg; 3 | -------------------------------------------------------------------------------- /apps/3002-checkout/public/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/3002-checkout/public/.gitkeep -------------------------------------------------------------------------------- /apps/3002-checkout/public/webpack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/3002-checkout/public/webpack.png -------------------------------------------------------------------------------- /apps/bundle-size/cypress/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getH1 = () => cy.get('h1'); 2 | export const getH2 = () => cy.get('h2'); 3 | export const getH3 = () => cy.get('h3'); 4 | -------------------------------------------------------------------------------- /apps/bundle-size/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | -------------------------------------------------------------------------------- /apps/bundle-size/src/index.ts: -------------------------------------------------------------------------------- 1 | import { init } from '@module-federation/enhanced/runtime'; 2 | 3 | require('./bootstrap'); 4 | -------------------------------------------------------------------------------- /apps/docs-ui/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["@nx/js/babel"] 3 | } 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/css/page-languages.scss: -------------------------------------------------------------------------------- 1 | #language-toggle { 2 | .is-open { 3 | background: red; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/css/search.scss: -------------------------------------------------------------------------------- 1 | .search-result-dropdown-menu { 2 | left: 0% !important; 3 | right: unset !important; 4 | } 5 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-Bold.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-BoldCn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-BoldCn.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-BoldIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-BoldIt.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-Cn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-Cn.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-CnIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-CnIt.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-Demi.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-Demi.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-DemiCn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-DemiCn.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-DemiIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-DemiIt.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-Heavy.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-Heavy.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-HeavyCn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-HeavyCn.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-HeavyIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-HeavyIt.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-It.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-It.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-Medium.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-Regular.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-UltLt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-UltLt.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-UltLtCn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-UltLtCn.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/fonts/AvenirNextLTPro-UltLtIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/app/fonts/AvenirNextLTPro-UltLtIt.otf -------------------------------------------------------------------------------- /apps/docs-ui/src/app/helpers/detag.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const TAG_ALL_RX = /<[^>]+>/g; 4 | 5 | module.exports = (html) => html && html.replace(TAG_ALL_RX, ''); 6 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/helpers/eq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (a, b) => a === b; 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/helpers/gt.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (a, b) => a > b; 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/helpers/increment.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (value) => (value || 0) + 1; 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/helpers/json.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (val) => JSON.stringify(val, null, 2); 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/helpers/length.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (val) => (val ? val.length : 0); 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/helpers/ne.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (a, b) => a !== b; 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/helpers/not.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (val) => !val; 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/helpers/year.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = () => new Date().getFullYear().toString(); 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/footer.hbs: -------------------------------------------------------------------------------- 1 | {{> footer-content}} 2 | {{> footer-scripts}} 3 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/head-icons.hbs: -------------------------------------------------------------------------------- 1 | {{!-- --}} 2 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/head-prelude.hbs: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/head-styles.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/head-title.hbs: -------------------------------------------------------------------------------- 1 | {{{detag (or page.title defaultPageTitle)}}}{{#with site.title}} :: {{this}}{{/with}} 2 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/head.hbs: -------------------------------------------------------------------------------- 1 | {{> head-prelude}} 2 | {{> head-title}} 3 | {{> head-info}} 4 | {{> head-styles}} 5 | {{> head-meta}} 6 | {{> head-scripts}} 7 | {{> head-icons}} -------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/header-scripts.hbs: -------------------------------------------------------------------------------- 1 | {{!-- Add header scripts here --}} 2 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/header.hbs: -------------------------------------------------------------------------------- 1 | {{> header-scripts}} 2 | {{> header-content}} 3 | -------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/main.hbs: -------------------------------------------------------------------------------- 1 |
2 | {{#if (eq page.layout '404')}} 3 | {{> article-404}} 4 | {{else}} 5 | {{> article}} 6 | {{/if}} 7 |
-------------------------------------------------------------------------------- /apps/docs-ui/src/app/partials/nav-toggle.hbs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /apps/docs-ui/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/assets/.gitkeep -------------------------------------------------------------------------------- /apps/docs-ui/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/docs-ui/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/docs-ui/src/favicon.ico -------------------------------------------------------------------------------- /apps/docs-ui/src/main.ts: -------------------------------------------------------------------------------- 1 | import './app/js'; 2 | -------------------------------------------------------------------------------- /apps/esbuild/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/esbuild/build.js -------------------------------------------------------------------------------- /apps/esbuild/build/build-mfe1.js: -------------------------------------------------------------------------------- 1 | const { buildProject } = require('./build-common'); 2 | 3 | const watch = process.argv.includes('--watch'); 4 | buildProject('mfe1', watch); 5 | -------------------------------------------------------------------------------- /apps/esbuild/build/build-shell.js: -------------------------------------------------------------------------------- 1 | const { buildProject } = require('./build-common'); 2 | 3 | const watch = process.argv.includes('--watch'); 4 | buildProject('shell', watch); 5 | -------------------------------------------------------------------------------- /apps/esbuild/libs/shared-lib/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shared-lib", 3 | "version": "0.0.1", 4 | "main": "./index.ts" 5 | } 6 | -------------------------------------------------------------------------------- /apps/esbuild/mfe1/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/esbuild/mfe1/favicon.ico -------------------------------------------------------------------------------- /apps/esbuild/mfe1/federationInit.js: -------------------------------------------------------------------------------- 1 | export default 'FEDERATIONINININININT'; 2 | -------------------------------------------------------------------------------- /apps/esbuild/mfe1/main.ts: -------------------------------------------------------------------------------- 1 | (async () => { 2 | await import('./bootstrap'); 3 | })(); 4 | -------------------------------------------------------------------------------- /apps/esbuild/shell/decl.ts: -------------------------------------------------------------------------------- 1 | declare module 'mfe1/*'; 2 | -------------------------------------------------------------------------------- /apps/esbuild/shell/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/esbuild/shell/favicon.ico -------------------------------------------------------------------------------- /apps/esbuild/shell/main.ts: -------------------------------------------------------------------------------- 1 | //@ts-nocheck 2 | 3 | (async () => { 4 | import('./bootstrap'); 5 | })(); 6 | -------------------------------------------------------------------------------- /apps/manifest-demo/3009-webpack-provider/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | -------------------------------------------------------------------------------- /apps/manifest-demo/3009-webpack-provider/src/index.ts: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/manifest-demo/3010-rspack-provider/src/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test-remote2 { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /apps/manifest-demo/3010-rspack-provider/src/index.ts: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/manifest-demo/3011-rspack-manifest-provider/src/asyncFile.ts: -------------------------------------------------------------------------------- 1 | export default 'async file'; 2 | -------------------------------------------------------------------------------- /apps/manifest-demo/3011-rspack-manifest-provider/src/index.js: -------------------------------------------------------------------------------- 1 | import('./bootsrtap'); 2 | -------------------------------------------------------------------------------- /apps/manifest-demo/3012-rspack-js-entry-provider/src/asyncFile.ts: -------------------------------------------------------------------------------- 1 | export default 'async file'; 2 | -------------------------------------------------------------------------------- /apps/manifest-demo/3012-rspack-js-entry-provider/src/index.js: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/manifest-demo/webpack-host/cypress/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getH1 = () => cy.get('h1'); 2 | export const getH2 = () => cy.get('h2'); 3 | export const getH3 = () => cy.get('h3'); 4 | -------------------------------------------------------------------------------- /apps/manifest-demo/webpack-host/src/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /apps/manifest-demo/webpack-host/src/components/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly test: string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/manifest-demo/webpack-host/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | -------------------------------------------------------------------------------- /apps/manifest-demo/webpack-host/src/webpack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/manifest-demo/webpack-host/src/webpack.png -------------------------------------------------------------------------------- /apps/modern-component-data-fetch/host/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false -------------------------------------------------------------------------------- /apps/modern-component-data-fetch/host/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # modernjs-ssr-nested-remote 2 | -------------------------------------------------------------------------------- /apps/modern-component-data-fetch/host/cypress/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getH1 = () => cy.get('h1'); 2 | export const getH2 = () => cy.get('h2'); 3 | export const getH3 = () => cy.get('h3'); 4 | -------------------------------------------------------------------------------- /apps/modern-component-data-fetch/provider/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false -------------------------------------------------------------------------------- /apps/modern-component-data-fetch/provider/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # modernjs-ssr-nested-remote 2 | -------------------------------------------------------------------------------- /apps/modern-component-data-fetch/provider/src/components/BasicComponent/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test-remote2 { 2 | background: rgb(119, 218, 59); 3 | } 4 | -------------------------------------------------------------------------------- /apps/modern-component-data-fetch/provider/src/components/BasicComponent/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly 'test-remote2': string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-nested-remote/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-nested-remote/src/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test-remote2 { 2 | background: rgb(0, 170, 255); 3 | } 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-nested-remote/src/components/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly 'test-remote2': string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-nested-remote/src/test.ts: -------------------------------------------------------------------------------- 1 | export default 'test'; 2 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-remote-new-version/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-remote-new-version/src/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test-remote2 { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-remote-new-version/src/components/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly 'test-remote2': string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-remote-new-version/src/test.ts: -------------------------------------------------------------------------------- 1 | export default 'test'; 2 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-remote/src/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test-remote2 { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/dynamic-remote/src/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly 'test-remote2': string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/host/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false -------------------------------------------------------------------------------- /apps/modernjs-ssr/host/cypress/downloads/downloads.html: -------------------------------------------------------------------------------- 1 | Cr24 2 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/host/cypress/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getH1 = () => cy.get('h1'); 2 | export const getH2 = () => cy.get('h2'); 3 | export const getH3 = () => cy.get('h3'); 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/nested-remote/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false -------------------------------------------------------------------------------- /apps/modernjs-ssr/nested-remote/src/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test-remote2 { 2 | background: rgb(119, 218, 59); 3 | } 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/nested-remote/src/components/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly 'test-remote2': string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/nested-remote/test.js: -------------------------------------------------------------------------------- 1 | const serverRender = require('/Users/bytedance/outter/universe/apps/modernjs-ssr/nested-remote/dist/bundles/main.js'); 2 | console.log(33, serverRender); 3 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/remote-new-version/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false -------------------------------------------------------------------------------- /apps/modernjs-ssr/remote-new-version/src/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test-remote2 { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/remote-new-version/src/components/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly 'test-remote2': string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/remote-new-version/src/test.ts: -------------------------------------------------------------------------------- 1 | export default 'test'; 2 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/remote/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false -------------------------------------------------------------------------------- /apps/modernjs-ssr/remote/src/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test-remote2 { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /apps/modernjs-ssr/remote/src/components/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly 'test-remote2': string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/modernjs/.browserslistrc: -------------------------------------------------------------------------------- 1 | iOS >= 9 2 | Android >= 4.4 3 | last 2 versions 4 | > 0.2% 5 | not dead 6 | -------------------------------------------------------------------------------- /apps/modernjs/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: ['@modern-js'], 4 | }; 5 | -------------------------------------------------------------------------------- /apps/modernjs/.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx --no-install lint-staged 5 | -------------------------------------------------------------------------------- /apps/modernjs/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false 2 | -------------------------------------------------------------------------------- /apps/modernjs/.nvmrc: -------------------------------------------------------------------------------- 1 | lts/hydrogen 2 | -------------------------------------------------------------------------------- /apps/modernjs/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "all", 4 | "arrowParens": "avoid" 5 | } 6 | -------------------------------------------------------------------------------- /apps/modernjs/cypress/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getH1 = () => cy.get('h1'); 2 | export const getH2 = () => cy.get('h2'); 3 | export const getH3 = () => cy.get('h3'); 4 | -------------------------------------------------------------------------------- /apps/modernjs/src/test.ts: -------------------------------------------------------------------------------- 1 | export default 'test'; 2 | -------------------------------------------------------------------------------- /apps/next-app-router/README.md: -------------------------------------------------------------------------------- 1 | # Dont get excited, it doesnt work. 2 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/.npmrc: -------------------------------------------------------------------------------- 1 | save-exact=true 2 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/.prettierignore: -------------------------------------------------------------------------------- 1 | .next 2 | pnpm-lock.yaml 3 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/app/api/categories/category.d.ts: -------------------------------------------------------------------------------- 1 | export type Category = { 2 | name: string; 3 | slug: string; 4 | count: number; 5 | parent: string | null; 6 | }; 7 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/app/api/reviews/review.d.ts: -------------------------------------------------------------------------------- 1 | export type Review = { 2 | id: string; 3 | name: string; 4 | rating: number; 5 | text: string; 6 | }; 7 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/app/patterns/active-links/community/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Page() { 2 | return

Community

; 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/app/patterns/active-links/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Page() { 2 | return

Home

; 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/app/patterns/active-links/profile/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Page() { 2 | return

Profile

; 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/app/patterns/active-links/settings/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Page() { 2 | return

Settings

; 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4000/styles/globals.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/.npmrc: -------------------------------------------------------------------------------- 1 | save-exact=true 2 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/.prettierignore: -------------------------------------------------------------------------------- 1 | .next 2 | pnpm-lock.yaml 3 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/app/api/categories/category.d.ts: -------------------------------------------------------------------------------- 1 | export type Category = { 2 | name: string; 3 | slug: string; 4 | count: number; 5 | parent: string | null; 6 | }; 7 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/app/api/reviews/review.d.ts: -------------------------------------------------------------------------------- 1 | export type Review = { 2 | id: string; 3 | name: string; 4 | rating: number; 5 | text: string; 6 | }; 7 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/app/patterns/active-links/community/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Page() { 2 | return

Community

; 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/app/patterns/active-links/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Page() { 2 | return

Home

; 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/app/patterns/active-links/profile/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Page() { 2 | return

Profile

; 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/app/patterns/active-links/settings/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Page() { 2 | return

Settings

; 3 | } 4 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /apps/next-app-router/next-app-router-4001/styles/globals.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /apps/node-dynamic-remote-new-version/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/node-dynamic-remote-new-version/src/expose-with-axios.js: -------------------------------------------------------------------------------- 1 | const axios = require('axios'); 2 | module.exports = function () { 3 | return `new version :${Object.keys(axios)}`; 4 | }; 5 | -------------------------------------------------------------------------------- /apps/node-dynamic-remote-new-version/src/expose-with-lodash.js: -------------------------------------------------------------------------------- 1 | const lodash = require('lodash'); 2 | module.exports = function () { 3 | return Object.keys(lodash); 4 | }; 5 | -------------------------------------------------------------------------------- /apps/node-dynamic-remote-new-version/src/expose.js: -------------------------------------------------------------------------------- 1 | module.exports = 'module from node-dynamic-remote-new-version'; 2 | -------------------------------------------------------------------------------- /apps/node-dynamic-remote-new-version/src/main.tsx: -------------------------------------------------------------------------------- 1 | console.log('test'); 2 | -------------------------------------------------------------------------------- /apps/node-dynamic-remote/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/node-dynamic-remote/src/expose-with-lodash.js: -------------------------------------------------------------------------------- 1 | const lodash = require('lodash'); 2 | module.exports = function () { 3 | return Object.keys(lodash); 4 | }; 5 | -------------------------------------------------------------------------------- /apps/node-dynamic-remote/src/expose.js: -------------------------------------------------------------------------------- 1 | module.exports = 'module from node-dynamic-remote'; 2 | -------------------------------------------------------------------------------- /apps/node-dynamic-remote/src/main.tsx: -------------------------------------------------------------------------------- 1 | console.log('test'); 2 | -------------------------------------------------------------------------------- /apps/node-host-e2e/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-host-e2e", 3 | "private": true, 4 | "dependencies": { 5 | "@module-federation/node": "workspace:*" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /apps/node-host/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/node-host/src/assets/.gitkeep -------------------------------------------------------------------------------- /apps/node-host/src/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/node-host/src/bootstrap.js -------------------------------------------------------------------------------- /apps/node-local-remote/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/node-local-remote/src/expose.js: -------------------------------------------------------------------------------- 1 | module.exports = 'module from node-local-remote'; 2 | -------------------------------------------------------------------------------- /apps/node-local-remote/src/main.tsx: -------------------------------------------------------------------------------- 1 | console.log('test'); 2 | -------------------------------------------------------------------------------- /apps/node-remote/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/node-remote/src/expose.js: -------------------------------------------------------------------------------- 1 | module.exports = 'module from node-remote'; 2 | -------------------------------------------------------------------------------- /apps/node-remote/src/main.js: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/node-remote/src/main.tsx: -------------------------------------------------------------------------------- 1 | console.log('test'); 2 | -------------------------------------------------------------------------------- /apps/react-ts-host/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/react-ts-host/src/assets/.gitkeep -------------------------------------------------------------------------------- /apps/react-ts-host/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/react-ts-host/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/react-ts-host/src/favicon.ico -------------------------------------------------------------------------------- /apps/react-ts-host/src/main.ts: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/react-ts-nested-remote/src/app/App.module.css: -------------------------------------------------------------------------------- 1 | /* Your styles goes here. */ 2 | -------------------------------------------------------------------------------- /apps/react-ts-nested-remote/src/app/nx-welcome.tsx: -------------------------------------------------------------------------------- 1 | import RemoteModule from 'react_ts_remote/Module'; 2 | 3 | export default RemoteModule; 4 | -------------------------------------------------------------------------------- /apps/react-ts-nested-remote/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/react-ts-nested-remote/src/assets/.gitkeep -------------------------------------------------------------------------------- /apps/react-ts-nested-remote/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/react-ts-nested-remote/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/react-ts-nested-remote/src/favicon.ico -------------------------------------------------------------------------------- /apps/react-ts-nested-remote/src/main.ts: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/react-ts-nested-remote/src/remote-entry.ts: -------------------------------------------------------------------------------- 1 | export { default } from './app/App'; 2 | -------------------------------------------------------------------------------- /apps/react-ts-nested-remote/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /apps/react-ts-remote/src/app/App.module.css: -------------------------------------------------------------------------------- 1 | /* Your styles goes here. */ 2 | -------------------------------------------------------------------------------- /apps/react-ts-remote/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/react-ts-remote/src/assets/.gitkeep -------------------------------------------------------------------------------- /apps/react-ts-remote/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/react-ts-remote/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/react-ts-remote/src/favicon.ico -------------------------------------------------------------------------------- /apps/react-ts-remote/src/main.ts: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/react-ts-remote/src/remote-entry.ts: -------------------------------------------------------------------------------- 1 | export { default } from './app/App'; 2 | -------------------------------------------------------------------------------- /apps/react-ts-remote/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /apps/reactRemoteUI/module-federation.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | name: 'reactRemoteUI', 3 | filename: 'remoteEntry.js', 4 | exposes: { 5 | './Button': './src/Button', 6 | }, 7 | }; 8 | -------------------------------------------------------------------------------- /apps/reactRemoteUI/src/Button/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Button'; 2 | -------------------------------------------------------------------------------- /apps/reactRemoteUI/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/reactRemoteUI/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/reactRemoteUI/src/favicon.ico -------------------------------------------------------------------------------- /apps/reactRemoteUI/src/main.ts: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/reactRemoteUI/src/styles.scss: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /apps/reactStorybook/.storybook/preview.js: -------------------------------------------------------------------------------- 1 | export const tags = ['autodocs']; 2 | -------------------------------------------------------------------------------- /apps/reactStorybook/module-federation.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | name: 'reactStorybook', 3 | remotes: ['reactRemoteUI'], 4 | }; 5 | -------------------------------------------------------------------------------- /apps/reactStorybook/src/app/app.module.scss: -------------------------------------------------------------------------------- 1 | /* Your styles goes here. */ 2 | -------------------------------------------------------------------------------- /apps/reactStorybook/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/reactStorybook/src/assets/.gitkeep -------------------------------------------------------------------------------- /apps/reactStorybook/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /apps/reactStorybook/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/reactStorybook/src/favicon.ico -------------------------------------------------------------------------------- /apps/reactStorybook/src/main.ts: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/reactStorybook/src/remotes.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'reactRemoteUI/Button'; 2 | -------------------------------------------------------------------------------- /apps/reactStorybook/src/styles.scss: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-host-2000/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /apps/router-demo/router-host-2000/src/App.css: -------------------------------------------------------------------------------- 1 | .remote1 { 2 | background: green; 3 | } 4 | -------------------------------------------------------------------------------- /apps/router-demo/router-host-2000/src/index.css: -------------------------------------------------------------------------------- 1 | /* @tailwind base; */ 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /apps/router-demo/router-host-2000/src/index.tsx: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-host-v5-2200/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /apps/router-demo/router-host-v5-2200/src/index.css: -------------------------------------------------------------------------------- 1 | /* @tailwind base; */ 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /apps/router-demo/router-host-v5-2200/src/index.tsx: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-host-vue3-2100/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/router-demo/router-host-vue3-2100/src/index.css -------------------------------------------------------------------------------- /apps/router-demo/router-host-vue3-2100/src/index.ts: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote1-2001/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote1-2001/src/index.tsx: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | 3 | declare module '*.css' { 4 | const classex: any; 5 | export default classex; 6 | } 7 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote2-2002/src/button.tsx: -------------------------------------------------------------------------------- 1 | export default function Button() { 2 | return
Provider button
; 3 | } 4 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote2-2002/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote2-2002/src/index.tsx: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote3-2003/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/router-demo/router-remote3-2003/src/index.css -------------------------------------------------------------------------------- /apps/router-demo/router-remote3-2003/src/index.ts: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote4-2004/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote4-2004/src/index.tsx: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote5-2005/src/App.tsx: -------------------------------------------------------------------------------- 1 | const App = () => { 2 | return
This is the remote app5 with React 19.
; 3 | }; 4 | 5 | export default App; 6 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote5-2005/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /apps/router-demo/router-remote5-2005/src/index.tsx: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/rslib-module/@mf-types/rslib-module/apis.d.ts: -------------------------------------------------------------------------------- 1 | export type RemoteKeys = 'rslib-module'; 2 | type PackageType = T extends 'rslib-module' 3 | ? typeof import('rslib-module') 4 | : any; 5 | -------------------------------------------------------------------------------- /apps/rslib-module/@mf-types/rslib-module/compiled-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const Counter: React.FC; 2 | -------------------------------------------------------------------------------- /apps/rslib-module/@mf-types/rslib-module/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './compiled-types/index'; 2 | export { default } from './compiled-types/index'; 3 | -------------------------------------------------------------------------------- /apps/runtime-demo/3005-runtime-host/cypress/support/app.po.ts: -------------------------------------------------------------------------------- 1 | export const getH1 = () => cy.get('h1'); 2 | export const getH2 = () => cy.get('h2'); 3 | export const getH3 = () => cy.get('h3'); 4 | -------------------------------------------------------------------------------- /apps/runtime-demo/3005-runtime-host/src/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /apps/runtime-demo/3005-runtime-host/src/components/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly test: string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/runtime-demo/3005-runtime-host/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | -------------------------------------------------------------------------------- /apps/runtime-demo/3005-runtime-host/src/webpack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/runtime-demo/3005-runtime-host/src/webpack.png -------------------------------------------------------------------------------- /apps/runtime-demo/3006-runtime-remote/public/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/runtime-demo/3006-runtime-remote/public/.gitkeep -------------------------------------------------------------------------------- /apps/runtime-demo/3006-runtime-remote/src/components/a.css: -------------------------------------------------------------------------------- 1 | span { 2 | color: black; 3 | } 4 | -------------------------------------------------------------------------------- /apps/runtime-demo/3006-runtime-remote/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | -------------------------------------------------------------------------------- /apps/runtime-demo/3007-runtime-remote/src/components/stuff.module.css: -------------------------------------------------------------------------------- 1 | .test-remote2 { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /apps/runtime-demo/3007-runtime-remote/src/components/stuff.module.css.d.ts: -------------------------------------------------------------------------------- 1 | const classes: { readonly 'test-remote2': string }; 2 | 3 | export default classes; 4 | -------------------------------------------------------------------------------- /apps/runtime-demo/3007-runtime-remote/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | -------------------------------------------------------------------------------- /apps/runtime-demo/3008-runtime-remote/src/index.jsx: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /apps/website-new/LICENSE: -------------------------------------------------------------------------------- 1 | https://creativecommons.org/licenses/by/4.0/legalcode.en 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/blog/_meta.json: -------------------------------------------------------------------------------- 1 | [ 2 | "announcement", 3 | "hoisted-runtime", 4 | "error-load-remote" 5 | ] 6 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/guide/basic/_meta.json: -------------------------------------------------------------------------------- 1 | ["runtime", "rsbuild", "rspack", "webpack", "vite", "type-prompt","cli"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/guide/debug/_meta.json: -------------------------------------------------------------------------------- 1 | [ "mode","chrome-devtool","variables"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/guide/framework/_meta.json: -------------------------------------------------------------------------------- 1 | ["modernjs","nextjs"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/guide/start/_meta.json: -------------------------------------------------------------------------------- 1 | ["index", "setting-up-env", "quick-start", "features", "glossary", "npm-packages"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/guide/troubleshooting/type/_meta.json: -------------------------------------------------------------------------------- 1 | [ 2 | "overview", 3 | "TYPE-001" 4 | ] 5 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/plugin/dev/_meta.json: -------------------------------------------------------------------------------- 1 | ["index"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/plugin/plugins/_meta.json: -------------------------------------------------------------------------------- 1 | ["index", "retry-plugin"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/practice/frameworks/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | overview: true 3 | --- 4 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/practice/frameworks/modern/_meta.json: -------------------------------------------------------------------------------- 1 | ["index","dynamic-remote"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/practice/frameworks/next/_meta.json: -------------------------------------------------------------------------------- 1 | ["index", "importing-components","importing-pages","express","presets"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/practice/frameworks/react/_meta.json: -------------------------------------------------------------------------------- 1 | ["index", "using-nx-for-react", "i18n-react"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/practice/performance/_meta.json: -------------------------------------------------------------------------------- 1 | ["prefetch"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/practice/scenario/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "scenario" 3 | --- 4 | 5 | Coming Soon 6 | -------------------------------------------------------------------------------- /apps/website-new/docs/en/showcase/_meta.json: -------------------------------------------------------------------------------- 1 | [ "index"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/public/rspress-dark-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/rspress-dark-logo.png -------------------------------------------------------------------------------- /apps/website-new/docs/public/rspress-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/rspress-icon.png -------------------------------------------------------------------------------- /apps/website-new/docs/public/rspress-light-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/rspress-light-logo.png -------------------------------------------------------------------------------- /apps/website-new/docs/public/showcase/adidas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/showcase/adidas.png -------------------------------------------------------------------------------- /apps/website-new/docs/public/showcase/bestbuy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/showcase/bestbuy.png -------------------------------------------------------------------------------- /apps/website-new/docs/public/showcase/epic_games.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/showcase/epic_games.png -------------------------------------------------------------------------------- /apps/website-new/docs/public/showcase/lululemon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/showcase/lululemon.png -------------------------------------------------------------------------------- /apps/website-new/docs/public/showcase/panda_doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/showcase/panda_doc.png -------------------------------------------------------------------------------- /apps/website-new/docs/public/showcase/tiktok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/showcase/tiktok.png -------------------------------------------------------------------------------- /apps/website-new/docs/public/showcase/zoominfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/public/showcase/zoominfo.png -------------------------------------------------------------------------------- /apps/website-new/docs/zh/blog/_meta.json: -------------------------------------------------------------------------------- 1 | [ "announcement", "error-load-remote"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/configure/filename.mdx: -------------------------------------------------------------------------------- 1 | # filename 2 | 3 | - 类型:`string` 4 | - 是否必填:否 5 | - 默认值:`remoteEntry.js` 6 | - 使用场景:决定生成的 `remoteEntry` 文件名 7 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/guide/basic/_meta.json: -------------------------------------------------------------------------------- 1 | ["runtime", "rsbuild", "rspack", "webpack", "vite","type-prompt","cli"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/guide/debug/_meta.json: -------------------------------------------------------------------------------- 1 | [ "mode","chrome-devtool","variables"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/guide/framework/_meta.json: -------------------------------------------------------------------------------- 1 | ["modernjs","nextjs"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/guide/start/_meta.json: -------------------------------------------------------------------------------- 1 | ["index", "setting-up-env", "quick-start", "features", "glossary", "npm-packages"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/guide/troubleshooting/type/_meta.json: -------------------------------------------------------------------------------- 1 | [ 2 | "overview", 3 | "TYPE-001" 4 | ] 5 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/plugin/dev/_meta.json: -------------------------------------------------------------------------------- 1 | ["index"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/plugin/dev/hooks.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/docs/zh/plugin/dev/hooks.mdx -------------------------------------------------------------------------------- /apps/website-new/docs/zh/plugin/plugins/_meta.json: -------------------------------------------------------------------------------- 1 | ["retry-plugin"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/practice/frameworks/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | overview: true 3 | --- 4 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/practice/frameworks/modern/_meta.json: -------------------------------------------------------------------------------- 1 | ["index","dynamic-remote"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/practice/frameworks/next/_meta.json: -------------------------------------------------------------------------------- 1 | ["index", "importing-components","importing-pages","express","presets"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/practice/frameworks/react/_meta.json: -------------------------------------------------------------------------------- 1 | ["index", "i18n-react"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/practice/performance/_meta.json: -------------------------------------------------------------------------------- 1 | ["prefetch"] 2 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/practice/scenario/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "场景化" 3 | --- 4 | 5 | 施工中... 6 | -------------------------------------------------------------------------------- /apps/website-new/docs/zh/showcase/_meta.json: -------------------------------------------------------------------------------- 1 | ["index"] 2 | -------------------------------------------------------------------------------- /apps/website-new/src/components/NextSteps.module.scss: -------------------------------------------------------------------------------- 1 | .next-steps { 2 | display: flex; 3 | flex-wrap: wrap; 4 | justify-content: space-between; 5 | margin-top: 3rem; 6 | } 7 | -------------------------------------------------------------------------------- /apps/website-new/theme/components/line/line.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website-new/theme/components/line/line.css -------------------------------------------------------------------------------- /apps/website-new/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "react-jsx", 4 | "esModuleInterop": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/website/.gitignore: -------------------------------------------------------------------------------- 1 | # Netlify 2 | .netlify 3 | -------------------------------------------------------------------------------- /apps/website/.prettierignore: -------------------------------------------------------------------------------- 1 | # Files Prettier should not format 2 | **/*.log 3 | **/.DS_Store 4 | *. 5 | dist 6 | node_modules 7 | -------------------------------------------------------------------------------- /apps/website/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "website", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /apps/website/public/_headers: -------------------------------------------------------------------------------- 1 | /build/* 2 | Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable 3 | -------------------------------------------------------------------------------- /apps/website/public/default-og.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/default-og.png -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-Bold.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-BoldCn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-BoldCn.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-BoldCnIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-BoldCnIt.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-BoldIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-BoldIt.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-Cn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-Cn.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-CnIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-CnIt.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-Demi.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-Demi.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-DemiCn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-DemiCn.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-DemiCnIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-DemiCnIt.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-DemiIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-DemiIt.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-Heavy.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-Heavy.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-HeavyCn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-HeavyCn.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-HeavyIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-HeavyIt.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-It.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-It.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-Medium.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-MediumCn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-MediumCn.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-MediumIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-MediumIt.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-Regular.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-UltLt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-UltLt.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-UltLtCn.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-UltLtCn.otf -------------------------------------------------------------------------------- /apps/website/public/fonts/AvenirNextLTPro-UltLtIt.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/fonts/AvenirNextLTPro-UltLtIt.otf -------------------------------------------------------------------------------- /apps/website/public/pattern_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/pattern_9.png -------------------------------------------------------------------------------- /apps/website/public/photos/zack_jackson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/photos/zack_jackson.png -------------------------------------------------------------------------------- /apps/website/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/robots.txt -------------------------------------------------------------------------------- /apps/website/public/showcase/adidas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/showcase/adidas.png -------------------------------------------------------------------------------- /apps/website/public/showcase/bestbuy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/showcase/bestbuy.png -------------------------------------------------------------------------------- /apps/website/public/showcase/business_insider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/showcase/business_insider.png -------------------------------------------------------------------------------- /apps/website/public/showcase/epic_games.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/showcase/epic_games.png -------------------------------------------------------------------------------- /apps/website/public/showcase/lululemon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/showcase/lululemon.png -------------------------------------------------------------------------------- /apps/website/public/showcase/panda_doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/showcase/panda_doc.png -------------------------------------------------------------------------------- /apps/website/public/showcase/shopify_partners.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/showcase/shopify_partners.png -------------------------------------------------------------------------------- /apps/website/public/showcase/tiktok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/showcase/tiktok.png -------------------------------------------------------------------------------- /apps/website/public/showcase/zoominfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/public/showcase/zoominfo.png -------------------------------------------------------------------------------- /apps/website/src/components/button/button.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/button/button.css -------------------------------------------------------------------------------- /apps/website/src/components/card/card.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/card/card.css -------------------------------------------------------------------------------- /apps/website/src/components/container/container.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/container/container.css -------------------------------------------------------------------------------- /apps/website/src/components/footer/footer.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/footer/footer.css -------------------------------------------------------------------------------- /apps/website/src/components/forms/select/select.css: -------------------------------------------------------------------------------- 1 | .dropdown { 2 | min-width: calc(100% + 2px); 3 | } 4 | -------------------------------------------------------------------------------- /apps/website/src/components/icon/icon.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/icon/icon.css -------------------------------------------------------------------------------- /apps/website/src/components/line/line.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/line/line.css -------------------------------------------------------------------------------- /apps/website/src/components/navbar/navbar.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/navbar/navbar.css -------------------------------------------------------------------------------- /apps/website/src/components/section/section.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/section/section.css -------------------------------------------------------------------------------- /apps/website/src/components/sections/banner/banner.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/sections/banner/banner.css -------------------------------------------------------------------------------- /apps/website/src/components/sections/explore/explore.css: -------------------------------------------------------------------------------- 1 | .explore-grid { 2 | grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 3 | } 4 | -------------------------------------------------------------------------------- /apps/website/src/components/sections/hero/hero.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/sections/hero/hero.css -------------------------------------------------------------------------------- /apps/website/src/components/sections/medusa/medusa.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/apps/website/src/components/sections/medusa/medusa.css -------------------------------------------------------------------------------- /apps/website/src/components/sections/showcase/showcase.css: -------------------------------------------------------------------------------- 1 | .showcase-grid { 2 | grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 3 | } 4 | -------------------------------------------------------------------------------- /apps/website/src/i18n/en-US/discord.json: -------------------------------------------------------------------------------- 1 | { 2 | "discord": { 3 | "action": "Discord", 4 | "title": "Join to Module Federation community in" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/website/src/i18n/en-US/medusa.json: -------------------------------------------------------------------------------- 1 | { 2 | "medusa": { 3 | "title": "Start using Module Federation with" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apps/website/src/i18n/en-US/showcase.json: -------------------------------------------------------------------------------- 1 | { 2 | "showcase": { 3 | "action": "See more showcases", 4 | "title": "Showcase" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/website/src/i18n/pt-BR/discord.json: -------------------------------------------------------------------------------- 1 | { 2 | "discord": { 3 | "action": "Discord", 4 | "title": "Junte-se à comunidade Module Federation no" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/website/src/i18n/pt-BR/medusa.json: -------------------------------------------------------------------------------- 1 | { 2 | "medusa": { 3 | "title": "Comece a usar Module Federation com" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apps/website/src/i18n/pt-BR/showcase.json: -------------------------------------------------------------------------------- 1 | { 2 | "showcase": { 3 | "action": "Ver mais exemplos", 4 | "title": "Exemplos" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/website/src/i18n/zh-CN/discord.json: -------------------------------------------------------------------------------- 1 | { 2 | "discord": { 3 | "action": "Discord", 4 | "title": "加入模块联邦社区" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/website/src/i18n/zh-CN/medusa.json: -------------------------------------------------------------------------------- 1 | { 2 | "medusa": { 3 | "title": "开始使用模块联邦通过" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /apps/website/src/i18n/zh-CN/showcase-page.json: -------------------------------------------------------------------------------- 1 | { 2 | "showcase-page": { 3 | "action": "成为案例展示", 4 | "subtitle": "与采用模块联邦技术满足其网页开发需求的领先公司见面", 5 | "title": "案例展示" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /apps/website/src/i18n/zh-CN/showcase.json: -------------------------------------------------------------------------------- 1 | { 2 | "showcase": { 3 | "action": "查看更多案例", 4 | "title": "案例展示" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "babelrcRoots": ["*"] 3 | } 4 | -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional', '@commitlint/config-nx-scopes'], 3 | }; 4 | -------------------------------------------------------------------------------- /image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/image.png -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- 1 | import { getJestProjectsAsync } from '@nx/jest'; 2 | 3 | export default async () => ({ 4 | projects: await getJestProjectsAsync(), 5 | }); 6 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "functions": [ 3 | { 4 | "path": "/*", 5 | "function": "entry.netlify-edge", 6 | "cache": "manual" 7 | } 8 | ], 9 | "version": 1 10 | } 11 | -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | publish = "apps/website-new/doc_build" 3 | -------------------------------------------------------------------------------- /packages/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/packages/.gitkeep -------------------------------------------------------------------------------- /packages/assemble-release-plan/.gitignore: -------------------------------------------------------------------------------- 1 | ./dist 2 | -------------------------------------------------------------------------------- /packages/bridge/bridge-react/src/modern-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /packages/bridge/bridge-shared/src/bridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/packages/bridge/bridge-shared/src/bridge.ts -------------------------------------------------------------------------------- /packages/bridge/bridge-shared/src/index.ts: -------------------------------------------------------------------------------- 1 | export type { RenderFnParams, ProviderParams } from './type'; 2 | export { dispatchPopstateEnv } from './env'; 3 | -------------------------------------------------------------------------------- /packages/bridge/bridge-shared/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/bridge/vue3-bridge/src/utils.ts: -------------------------------------------------------------------------------- 1 | import { createLogger } from '@module-federation/sdk'; 2 | 3 | export const LoggerInstance = createLogger('[ Module Federation Bridge Vue3 ]'); 4 | -------------------------------------------------------------------------------- /packages/bridge/vue3-bridge/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/chrome-devtools/.browserslistrc: -------------------------------------------------------------------------------- 1 | chrome >= 51 2 | edge >= 15 3 | firefox >= 54 4 | safari >= 10 5 | ios_saf >= 10 6 | -------------------------------------------------------------------------------- /packages/chrome-devtools/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false 2 | -------------------------------------------------------------------------------- /packages/chrome-devtools/.nvmrc: -------------------------------------------------------------------------------- 1 | lts/hydrogen 2 | -------------------------------------------------------------------------------- /packages/chrome-devtools/__tests__/mock/index.ts: -------------------------------------------------------------------------------- 1 | export * from './snapshot'; 2 | -------------------------------------------------------------------------------- /packages/chrome-devtools/__tests__/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/packages/chrome-devtools/__tests__/setup.ts -------------------------------------------------------------------------------- /packages/chrome-devtools/config/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/packages/chrome-devtools/config/public/favicon.ico -------------------------------------------------------------------------------- /packages/chrome-devtools/src/template/index.ts: -------------------------------------------------------------------------------- 1 | export * from './constant'; 2 | -------------------------------------------------------------------------------- /packages/chrome-devtools/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './chrome'; 2 | export * from './sdk'; 3 | export * from './data'; 4 | export * from './types'; 5 | -------------------------------------------------------------------------------- /packages/chrome-devtools/src/utils/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from './common'; 2 | -------------------------------------------------------------------------------- /packages/chrome-devtools/src/worker/index.ts: -------------------------------------------------------------------------------- 1 | console.log('Module Federation Worker'); 2 | -------------------------------------------------------------------------------- /packages/chrome-devtools/tsconfig.lib.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.base.json", 3 | "include": ["src", "stories"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/cli/bin/mf.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const { runCli } = require('../dist/index.cjs.js'); 3 | 4 | runCli(); 5 | -------------------------------------------------------------------------------- /packages/cli/src/env.d.ts: -------------------------------------------------------------------------------- 1 | declare const __VERSION__: string; 2 | -------------------------------------------------------------------------------- /packages/cli/src/index.ts: -------------------------------------------------------------------------------- 1 | export { runCli } from './cli'; 2 | -------------------------------------------------------------------------------- /packages/core/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nx/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /packages/core/README.md: -------------------------------------------------------------------------------- 1 | # core 2 | 3 | This library represents the core functionality of module federation. 4 | -------------------------------------------------------------------------------- /packages/core/src/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api'; 2 | -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api'; 2 | -------------------------------------------------------------------------------- /packages/core/src/integrations/esbuild/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/packages/core/src/integrations/esbuild/.gitkeep -------------------------------------------------------------------------------- /packages/core/src/integrations/rspack/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/packages/core/src/integrations/rspack/.gitkeep -------------------------------------------------------------------------------- /packages/core/src/integrations/webpack/index.ts: -------------------------------------------------------------------------------- 1 | export * from './factory'; 2 | -------------------------------------------------------------------------------- /packages/core/src/lib/index.ts: -------------------------------------------------------------------------------- 1 | export * from './containers'; 2 | export * from './runtime'; 3 | -------------------------------------------------------------------------------- /packages/create-module-federation/src/materials/index.ts: -------------------------------------------------------------------------------- 1 | export { FsMaterial } from './FsMaterial'; 2 | export { FsResource, FS_RESOURCE } from './FsResource'; 3 | -------------------------------------------------------------------------------- /packages/create-module-federation/templates/modern-common/.browserslistrc: -------------------------------------------------------------------------------- 1 | chrome >= 51 2 | edge >= 15 3 | firefox >= 54 4 | safari >= 10 5 | ios_saf >= 10 6 | -------------------------------------------------------------------------------- /packages/create-module-federation/templates/modern-common/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false 2 | -------------------------------------------------------------------------------- /packages/create-module-federation/templates/modern-common/.nvmrc: -------------------------------------------------------------------------------- 1 | lts/hydrogen 2 | -------------------------------------------------------------------------------- /packages/create-module-federation/templates/modern-common/src/modern.runtime.ts: -------------------------------------------------------------------------------- 1 | import { defineRuntimeConfig } from '@modern-js/runtime'; 2 | 3 | export default defineRuntimeConfig({}); 4 | -------------------------------------------------------------------------------- /packages/create-module-federation/templates/rsbuild-common/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/create-module-federation/templates/rsbuild-common/src/index.tsx: -------------------------------------------------------------------------------- 1 | import('./bootstrap'); 2 | -------------------------------------------------------------------------------- /packages/data-prefetch/README.md: -------------------------------------------------------------------------------- 1 | # @module-federation/data-prefetch 2 | 3 | See [documentation](https://module-federation.io/zh/guide/performance/prefetch.html) for more details . 4 | -------------------------------------------------------------------------------- /packages/data-prefetch/src/common/constant.ts: -------------------------------------------------------------------------------- 1 | export const TEMP_DIR = '.mf'; 2 | -------------------------------------------------------------------------------- /packages/data-prefetch/src/common/index.ts: -------------------------------------------------------------------------------- 1 | export * from './constant'; 2 | -------------------------------------------------------------------------------- /packages/data-prefetch/src/constant.ts: -------------------------------------------------------------------------------- 1 | export const SHARED_STRATEGY = 'loaded-first'; 2 | -------------------------------------------------------------------------------- /packages/data-prefetch/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './prefetch'; 2 | export * from './plugin'; 3 | -------------------------------------------------------------------------------- /packages/data-prefetch/src/react/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hooks'; 2 | -------------------------------------------------------------------------------- /packages/dts-plugin/README.md: -------------------------------------------------------------------------------- 1 | # @module-federation/dts-plugin 2 | -------------------------------------------------------------------------------- /packages/dts-plugin/src/dev-worker/index.ts: -------------------------------------------------------------------------------- 1 | export { createDevWorker } from './createDevWorker'; 2 | export { DevWorker, type DevWorkerOptions } from './DevWorker'; 3 | -------------------------------------------------------------------------------- /packages/dts-plugin/src/server/message/API/index.ts: -------------------------------------------------------------------------------- 1 | export * from './API'; 2 | export * from './UpdateSubscriber'; 3 | export * from './ReloadWebClient'; 4 | export * from './FetchTypes'; 5 | -------------------------------------------------------------------------------- /packages/dts-plugin/src/server/message/Action/Update.ts: -------------------------------------------------------------------------------- 1 | export const enum UpdateKind { 2 | UPDATE_TYPE = 'UPDATE_TYPE', 3 | RELOAD_PAGE = 'RELOAD_PAGE', 4 | } 5 | -------------------------------------------------------------------------------- /packages/dts-plugin/src/server/message/Log/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BrokerExitLog'; 2 | export * from './PublisherRegisteredLog'; 3 | export * from './Log'; 4 | -------------------------------------------------------------------------------- /packages/dts-plugin/src/server/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from './message'; 2 | export * from './broker'; 3 | -------------------------------------------------------------------------------- /packages/enhanced/bin/mf.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const { runCli } = require('@module-federation/cli'); 3 | 4 | runCli(); 5 | -------------------------------------------------------------------------------- /packages/enhanced/src/prefetch.ts: -------------------------------------------------------------------------------- 1 | export { usePrefetch } from '@module-federation/data-prefetch/react'; 2 | export { prefetch } from '@module-federation/data-prefetch/universal'; 3 | -------------------------------------------------------------------------------- /packages/enhanced/src/rspack.ts: -------------------------------------------------------------------------------- 1 | export { 2 | ModuleFederationPlugin, 3 | PLUGIN_NAME, 4 | } from '@module-federation/rspack/plugin'; 5 | -------------------------------------------------------------------------------- /packages/enhanced/src/runtime.ts: -------------------------------------------------------------------------------- 1 | export * from '@module-federation/runtime-tools/runtime'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/src/schemas/container/ExternalsType.json: -------------------------------------------------------------------------------- 1 | { 2 | "$ref": "./ModuleFederationPlugin.json#/definitions/ExternalsType" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/src/wrapper/README.md: -------------------------------------------------------------------------------- 1 | This dir is used for making sure real webpack path can be set before using MFP. 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/0-container-full/upgrade-react.js: -------------------------------------------------------------------------------- 1 | import { setVersion } from 'react'; 2 | 3 | export default function upgrade() { 4 | setVersion('1.2.3'); 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/0-transitive-overriding/a.js: -------------------------------------------------------------------------------- 1 | export * from './b'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/0-transitive-overriding/b.js: -------------------------------------------------------------------------------- 1 | export * from './shared'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/0-transitive-overriding/modules.js: -------------------------------------------------------------------------------- 1 | export default Object.keys(__webpack_modules__).sort(); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/0-transitive-overriding/shared.js: -------------------------------------------------------------------------------- 1 | export const value = 'shared'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/1-container-full/node_modules/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.1.0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/1-container-full/upgrade-react.js: -------------------------------------------------------------------------------- 1 | import { setVersion } from 'react'; 2 | 3 | export default function upgrade() { 4 | setVersion('3.2.1'); 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/1-transitive-overriding/a.js: -------------------------------------------------------------------------------- 1 | export * from 'container-with-shared/b'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/1-transitive-overriding/b.js: -------------------------------------------------------------------------------- 1 | export * from './shared'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/1-transitive-overriding/modules-from-remote.js: -------------------------------------------------------------------------------- 1 | export { default } from 'container-with-shared/modules'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/1-transitive-overriding/modules.js: -------------------------------------------------------------------------------- 1 | export default Object.keys(__webpack_modules__).sort(); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/1-transitive-overriding/shared.js: -------------------------------------------------------------------------------- 1 | export const value = 'shared'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/2-container-full/Self.js: -------------------------------------------------------------------------------- 1 | export default { 2 | in: __filename, 3 | }; 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/2-container-full/node_modules/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "8" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/2-container-full/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "react": "*" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/2-container-full/upgrade-react.js: -------------------------------------------------------------------------------- 1 | import { setVersion } from 'react'; 2 | 3 | export default function upgrade() { 4 | setVersion('9'); 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/2-transitive-overriding/shared.js: -------------------------------------------------------------------------------- 1 | export const value = 'new shared'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/3-container-full/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "react": "*" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/3-container-full/upgrade-react.js: -------------------------------------------------------------------------------- 1 | import { setVersion } from 'react'; 2 | 3 | export default function upgrade() { 4 | setVersion('9'); 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/3-container-full/warnings.js: -------------------------------------------------------------------------------- 1 | module.exports = [ 2 | [/No version specified and unable to automatically determine one/], 3 | ]; 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/circular/a.js: -------------------------------------------------------------------------------- 1 | export default 'a'; 2 | export { default as b, a as ba } from 'container2/b'; 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/circular/b.js: -------------------------------------------------------------------------------- 1 | export default 'b'; 2 | export { default as a, b as ab } from 'container/a'; 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/circular/test.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | findBundle() { 3 | return './main.js'; 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/container-entry-overridables/test.js: -------------------------------------------------------------------------------- 1 | import value from './value'; 2 | 3 | export default `test ${value}`; 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/container-entry-overridables/value.js: -------------------------------------------------------------------------------- 1 | export default 'value'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/container-entry/init-module.js: -------------------------------------------------------------------------------- 1 | import { set } from './state'; 2 | set('ok'); 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/container-entry/main.js: -------------------------------------------------------------------------------- 1 | module.exports = 'main'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/container-entry/state.js: -------------------------------------------------------------------------------- 1 | export let value = ''; 2 | export function set(v) { 3 | value = v; 4 | } 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/container-entry/test.js: -------------------------------------------------------------------------------- 1 | module.exports = 'test'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/container-reference-override/new-test.js: -------------------------------------------------------------------------------- 1 | module.exports = (x) => `ok ${x}`; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/container-reference/index.js: -------------------------------------------------------------------------------- 1 | it('should import the correct modules', () => { 2 | return import('./module').then(({ test }) => test()); 3 | }); 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/error-handling/evaluation-error-cjs.js: -------------------------------------------------------------------------------- 1 | export let error; 2 | try { 3 | require('remote/module'); 4 | } catch (err) { 5 | error = err; 6 | } 7 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/error-handling/evaluation-error.js: -------------------------------------------------------------------------------- 1 | import 'remote/module'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/error-handling/invalid-module-cjs.js: -------------------------------------------------------------------------------- 1 | export let error; 2 | try { 3 | require('remote/invalid'); 4 | } catch (err) { 5 | error = err; 6 | } 7 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/error-handling/invalid-module.js: -------------------------------------------------------------------------------- 1 | import 'remote/invalid'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/error-handling/loading-error-cjs.js: -------------------------------------------------------------------------------- 1 | export let error; 2 | try { 3 | require('invalid/module'); 4 | } catch (err) { 5 | error = err; 6 | } 7 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/error-handling/loading-error.js: -------------------------------------------------------------------------------- 1 | import 'invalid/module'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/error-handling/module.js: -------------------------------------------------------------------------------- 1 | throw new Error('evaluation error'); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/exposed-overridables/Button.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | const Button = () => 'Button' + React; 4 | 5 | export default Button; 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/exposed-overridables/node_modules/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react", 3 | "version": "1.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/exposed-overridables/node_modules/react.js: -------------------------------------------------------------------------------- 1 | export default "React"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/exposed-overridables/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "react": "1.0.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/module-federation-with-shareScope/node_modules/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.1.0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/module-federation/dep.js: -------------------------------------------------------------------------------- 1 | module.exports = 'dep'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/module-federation/index.js: -------------------------------------------------------------------------------- 1 | it('should import the correct modules', () => { 2 | return import('./module').then(({ test }) => test()); 3 | }); 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/module-federation/other.js: -------------------------------------------------------------------------------- 1 | import andBack from 'other/dep'; 2 | 3 | export default `other and ${andBack}`; 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/module-federation/self.js: -------------------------------------------------------------------------------- 1 | import andBack from 'self/dep'; 2 | 3 | export default `self and ${andBack}`; 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/multiple-runtime-chunk/node_modules/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.1.0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/no-shared/module.js: -------------------------------------------------------------------------------- 1 | export const ok = true; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/virtual-entry/ComponentA.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default () => { 4 | return `ComponentA rendered with [${React()}]`; 5 | }; 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/container/virtual-entry/upgrade-react.js: -------------------------------------------------------------------------------- 1 | import { setVersion } from 'react'; 2 | 3 | export default function upgrade() { 4 | setVersion('1.2.3'); 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/layers/4-layers-full/upgrade-react.js: -------------------------------------------------------------------------------- 1 | import { setVersion } from 'react'; 2 | 3 | export default function upgrade() { 4 | setVersion('1.2.3'); 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/layers/7-layers-full/emptyComponent.js: -------------------------------------------------------------------------------- 1 | export default 'testnoop'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/layers/7-layers-full/node_modules/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.2" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/layers/8-layers-full/layerImport.js: -------------------------------------------------------------------------------- 1 | import LocalComponentA from './ComponentA'; 2 | 3 | export default LocalComponentA; 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/layers/8-layers-full/node_modules/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.1" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/errors.js: -------------------------------------------------------------------------------- 1 | module.exports = [[/prefix\/deep\/c/]]; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/@scoped/package/index.js: -------------------------------------------------------------------------------- 1 | module.exports = "@scoped/package"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/package.js: -------------------------------------------------------------------------------- 1 | module.exports = "package"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/prefix/a.js: -------------------------------------------------------------------------------- 1 | module.exports = "a"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/prefix/deep/b.js: -------------------------------------------------------------------------------- 1 | module.exports = "b"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/singleton.js: -------------------------------------------------------------------------------- 1 | module.exports = "singleton"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/singletonWithoutVersion.js: -------------------------------------------------------------------------------- 1 | module.exports = "singleton without version"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/strict0.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/strict1.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/strict2.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/strict3.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/node_modules/strict4.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/relative1.js: -------------------------------------------------------------------------------- 1 | module.exports = 'relative1'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module-ignore-warnings/relative2.js: -------------------------------------------------------------------------------- 1 | module.exports = 'relative2'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/errors.js: -------------------------------------------------------------------------------- 1 | module.exports = [[/prefix\/deep\/c/]]; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/@scoped/package/index.js: -------------------------------------------------------------------------------- 1 | module.exports = "@scoped/package"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/package.js: -------------------------------------------------------------------------------- 1 | module.exports = "package"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/prefix/a.js: -------------------------------------------------------------------------------- 1 | module.exports = "a"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/prefix/deep/b.js: -------------------------------------------------------------------------------- 1 | module.exports = "b"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/singleton.js: -------------------------------------------------------------------------------- 1 | module.exports = "singleton"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/singletonWithoutVersion.js: -------------------------------------------------------------------------------- 1 | module.exports = "singleton without version"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/strict0.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/strict1.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/strict2.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/strict3.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/node_modules/strict4.js: -------------------------------------------------------------------------------- 1 | module.exports = "strict"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "package": "*", 4 | "@scoped/package": "*", 5 | "prefix": "*" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/relative1.js: -------------------------------------------------------------------------------- 1 | module.exports = 'relative1'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-module/relative2.js: -------------------------------------------------------------------------------- 1 | module.exports = 'relative2'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/node_modules/my-module/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("shared"); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/node_modules/my-module/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "shared": "^2.3.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/node_modules/my-module2/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("shared"); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/node_modules/my-module2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "shared": "~2.3.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/node_modules/my-module3/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("shared"); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/node_modules/my-module3/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "shared": "^3.4.5" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/node_modules/my-module4/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("shared"); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions-ignore-warnings/node_modules/my-module4/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "shared": "*" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions/node_modules/my-module/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("shared"); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions/node_modules/my-module/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "shared": "^2.3.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions/node_modules/my-module2/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("shared"); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions/node_modules/my-module2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "shared": "~2.3.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions/node_modules/my-module3/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("shared"); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions/node_modules/my-module3/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "shared": "^3.4.5" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions/node_modules/my-module4/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("shared"); 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-multiple-versions/node_modules/my-module4/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "shared": "*" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-self-reference/node_modules/my-module/a.js: -------------------------------------------------------------------------------- 1 | export function a() { 2 | return "A"; 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-self-reference/node_modules/my-module/b.js: -------------------------------------------------------------------------------- 1 | import { a } from "my-module/a"; 2 | 3 | export function b() { 4 | return "B" + a(); 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/consume-self-reference/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "my-middleware": "^2.3.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-entry/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/.federation 2 | dist 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-entry/async-boundary.js: -------------------------------------------------------------------------------- 1 | export * from 'react'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-entry/index.js: -------------------------------------------------------------------------------- 1 | import './index-test'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-entry/node_modules/react/index.js: -------------------------------------------------------------------------------- 1 | import { dix } from './index2'; 2 | export const version = "1.0.0"; 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-entry/node_modules/react/index2.js: -------------------------------------------------------------------------------- 1 | export const dix = "1.0.0"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-loader/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/.federation 2 | dist 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-loader/node_modules/lib2/index.js: -------------------------------------------------------------------------------- 1 | export default "lib2"; 2 | export const version = '1.3.4'; 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-loader/node_modules/multi-pkg/thing1.js: -------------------------------------------------------------------------------- 1 | export const version = '2.0.0' 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-loader/node_modules/multi-pkg/thing2.js: -------------------------------------------------------------------------------- 1 | export const version = '2.0.0' 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-loader/node_modules/react/index.js: -------------------------------------------------------------------------------- 1 | import { dix } from './index2'; 2 | export const version = "1.0.0"; 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-loader/node_modules/react/index2.js: -------------------------------------------------------------------------------- 1 | export const dix = "1.0.0"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-consume-loader/shared/react-boundary.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Boundary file for React exports 3 | */ 4 | export * from 'react'; 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-provides-loader/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/.federation 2 | dist 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-provides-loader/node_modules/lib2/index.js: -------------------------------------------------------------------------------- 1 | export default "lib2"; 2 | export const version = '1.3.4'; 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-provides-loader/node_modules/multi-pkg/thing1.js: -------------------------------------------------------------------------------- 1 | export const version = '2.0.0' 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-provides-loader/node_modules/multi-pkg/thing2.js: -------------------------------------------------------------------------------- 1 | export const version = '2.0.0' 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-provides-loader/node_modules/react/index.js: -------------------------------------------------------------------------------- 1 | export const version = "1.0.0"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-provides-loader/node_modules/react/index2.js: -------------------------------------------------------------------------------- 1 | export const dix = "1.0.0"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-provides-loader/shared/react-boundary.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Boundary file for React exports 3 | */ 4 | export * from 'react'; 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-share-plugin/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/.federation 2 | dist 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-share-plugin/node_modules/lib2/index.js: -------------------------------------------------------------------------------- 1 | export default "lib2"; 2 | export const version = '1.3.4'; 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-share-plugin/node_modules/multi-pkg/thing1.js: -------------------------------------------------------------------------------- 1 | export const version = '2.0.0' 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-share-plugin/node_modules/multi-pkg/thing2.js: -------------------------------------------------------------------------------- 1 | export const version = '2.0.0' 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-share-plugin/node_modules/react/index.js: -------------------------------------------------------------------------------- 1 | import { dix } from './index2'; 2 | export const version = "1.0.0"; 3 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-share-plugin/node_modules/react/index2.js: -------------------------------------------------------------------------------- 1 | export const dix = "1.0.0"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/layers-share-plugin/shared/react-boundary.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Boundary file for React exports 3 | */ 4 | export * from 'react'; 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/no-override-loaded/node_modules/package/index.js: -------------------------------------------------------------------------------- 1 | module.exports = "package"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/no-override-loaded/node_modules/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/no-override-loaded/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.0.0", 3 | "dependencies": { 4 | "package": "1" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-eager-module/node_modules/common/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 42; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-eager-module/node_modules/common/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-eager-module/node_modules/uncommon/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 42; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-eager-module/node_modules/uncommon/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-eager-module/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "common": "*", 4 | "uncommon": "*" 5 | }, 6 | "name": "appshell-2.0" 7 | } 8 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-module/node_modules/package/index.js: -------------------------------------------------------------------------------- 1 | module.exports = "package"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-module/node_modules/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-module/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-module/test1.js: -------------------------------------------------------------------------------- 1 | module.exports = 'test1'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-module/test2-wrong.js: -------------------------------------------------------------------------------- 1 | module.exports = 'test2-wrong'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-module/test2.js: -------------------------------------------------------------------------------- 1 | module.exports = 'test2'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-multiple-versions/node_modules/my-module/index.js: -------------------------------------------------------------------------------- 1 | export * from "shared"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-multiple-versions/node_modules/my-module/node_modules/shared/index.js: -------------------------------------------------------------------------------- 1 | export * from "./package.json"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-multiple-versions/node_modules/my-module/node_modules/shared/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shared", 3 | "version": "2.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-multiple-versions/node_modules/shared/index.js: -------------------------------------------------------------------------------- 1 | export * from "./package.json"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-multiple-versions/node_modules/shared/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shared", 3 | "version": "1.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-multiple-versions/node_modules/unused-module/node_modules/shared/index.js: -------------------------------------------------------------------------------- 1 | export * from "./package.json"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-multiple-versions/node_modules/unused-module/node_modules/shared/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shared", 3 | "version": "3.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-multiple-versions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "package-name" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-shared-with-runtime-chunk/index.js: -------------------------------------------------------------------------------- 1 | import x from 'x'; 2 | 3 | it('should work', () => { 4 | expect(x).toBe(42); 5 | }); 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-shared-with-runtime-chunk/node_modules/x/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 42; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/provide-shared-with-runtime-chunk/node_modules/x/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-multiple-versions/node_modules/my-module/index.js: -------------------------------------------------------------------------------- 1 | export * from "shared"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-multiple-versions/node_modules/my-module/node_modules/shared/index.js: -------------------------------------------------------------------------------- 1 | export * from "./package.json"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-multiple-versions/node_modules/my-module/node_modules/shared/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shared", 3 | "version": "2.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-multiple-versions/node_modules/my-module/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "shared": "^2.0.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-multiple-versions/node_modules/shared/index.js: -------------------------------------------------------------------------------- 1 | export * from "./package.json"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-multiple-versions/node_modules/shared/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shared", 3 | "version": "1.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-multiple-versions/node_modules/unused-module/node_modules/shared/index.js: -------------------------------------------------------------------------------- 1 | export * from "./package.json"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-multiple-versions/node_modules/unused-module/node_modules/shared/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shared", 3 | "version": "3.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-multiple-versions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "shared": "^1.0.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-dual-mode/cjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "commonjs" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-dual-mode/node_modules/transitive_lib/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1.1" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-dual-mode/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "lib": "^1.0.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-monorepo/app1/node_modules/lib2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.2.2" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-monorepo/app1/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "lib2": "^2.0.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-monorepo/node_modules/lib1/index.js: -------------------------------------------------------------------------------- 1 | import cfg from './package.json' with { type: 'json' }; 2 | 3 | export default `lib1@${cfg.version}`; 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-monorepo/node_modules/lib1/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1.1" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-monorepo/node_modules/lib2/index.js: -------------------------------------------------------------------------------- 1 | import cfg from './package.json' with { type: 'json' }; 2 | 3 | export default `lib2@${cfg.version}`; 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-monorepo/node_modules/lib2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1.1" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin-monorepo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "lib1": "^1.0.0", 4 | "lib2": "^1.0.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/node_modules/lib1/index.js: -------------------------------------------------------------------------------- 1 | export default "lib1"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/node_modules/lib1/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1.1" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/node_modules/lib2/index.js: -------------------------------------------------------------------------------- 1 | export default "lib2"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/node_modules/lib3/index.js: -------------------------------------------------------------------------------- 1 | export default "lib3"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/node_modules/lib3/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1.1" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/node_modules/store/index.js: -------------------------------------------------------------------------------- 1 | export default "store"; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/node_modules/store/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0" 3 | } 4 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "lib3": "^1.1.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/relative1.js: -------------------------------------------------------------------------------- 1 | export default 'rel1'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/share-plugin/relative2.js: -------------------------------------------------------------------------------- 1 | export default 'rel2'; 2 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/shared-strategy/App.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default () => { 4 | return `App rendered with [${React()}]`; 5 | }; 6 | -------------------------------------------------------------------------------- /packages/enhanced/test/configCases/sharing/shared-strategy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shared-strategy" 3 | } 4 | -------------------------------------------------------------------------------- /packages/error-codes/README.md: -------------------------------------------------------------------------------- 1 | # `@module-federation/error-codes` 2 | -------------------------------------------------------------------------------- /packages/esbuild/src/index.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/esbuild/src/resolve/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } 4 | -------------------------------------------------------------------------------- /packages/managers/README.md: -------------------------------------------------------------------------------- 1 | # `@module-federation/managers` Documentation 2 | -------------------------------------------------------------------------------- /packages/managers/src/constant.ts: -------------------------------------------------------------------------------- 1 | export const LOCAL_BUILD_VERSION = 'local'; 2 | export const UNKNOWN_MODULE_NAME = 'UNKNOWN'; 3 | -------------------------------------------------------------------------------- /packages/manifest/src/constants.ts: -------------------------------------------------------------------------------- 1 | export const PLUGIN_IDENTIFIER = 'Module Federation Manifest Plugin'; 2 | export const HOT_UPDATE_SUFFIX = '.hot-update'; 3 | -------------------------------------------------------------------------------- /packages/modernjs/bin/mf.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const { runCli } = require('@module-federation/cli'); 3 | 4 | runCli(); 5 | -------------------------------------------------------------------------------- /packages/modernjs/typedoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../typedoc.base.json"], 3 | "entryPoints": ["src/index.ts"], 4 | "tsconfig": "tsconfig.lib.json" 5 | } 6 | -------------------------------------------------------------------------------- /packages/modernjs/types.d.ts: -------------------------------------------------------------------------------- 1 | import './dist/types/runtime'; 2 | 3 | // TODO: deprecated 4 | declare module '@modern-js/runtime/mf' { 5 | export * from './dist/types/runtime'; 6 | } 7 | -------------------------------------------------------------------------------- /packages/native-federation-tests/typedoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../typedoc.base.json"], 3 | "entryPoints": ["src/index.ts"], 4 | "tsconfig": "tsconfig.lib.json" 5 | } 6 | -------------------------------------------------------------------------------- /packages/native-federation-typescript/typedoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../typedoc.base.json"], 3 | "entryPoints": ["src/index.ts"], 4 | "tsconfig": "tsconfig.lib.json" 5 | } 6 | -------------------------------------------------------------------------------- /packages/nextjs-mf/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nx/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /packages/nextjs-mf/node.ts: -------------------------------------------------------------------------------- 1 | export * from '@module-federation/node'; 2 | -------------------------------------------------------------------------------- /packages/nextjs-mf/src/types/btoa.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'btoa' { 2 | function btoa(str: string): string; 3 | export = btoa; 4 | } 5 | -------------------------------------------------------------------------------- /packages/node/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nx/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /packages/node/assets/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/packages/node/assets/banner.png -------------------------------------------------------------------------------- /packages/node/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './hot-reload'; 2 | export * from './flush-chunks'; 3 | -------------------------------------------------------------------------------- /packages/retry-plugin/src/constant.ts: -------------------------------------------------------------------------------- 1 | export const defaultRetries = 3; 2 | export const defaultRetryDelay = 1000; 3 | export const PLUGIN_IDENTIFIER = '[ Module Federation RetryPlugin ]'; 4 | -------------------------------------------------------------------------------- /packages/rsbuild-plugin/src/utils/constant.ts: -------------------------------------------------------------------------------- 1 | export const DEFAULT_ASSET_PREFIX = '/'; 2 | export const DATA_FETCH_IDENTIFIER = 'data'; 3 | export const DATA_FETCH_CLIENT_SUFFIX = '.client'; 4 | -------------------------------------------------------------------------------- /packages/rspack/README.md: -------------------------------------------------------------------------------- 1 | # `@module-federation/rspack` Documentation 2 | -------------------------------------------------------------------------------- /packages/rspack/src/logger.ts: -------------------------------------------------------------------------------- 1 | import { createLogger } from '@module-federation/sdk'; 2 | 3 | const logger = createLogger('[ Module Federation Rspack Plugin ]'); 4 | 5 | export default logger; 6 | -------------------------------------------------------------------------------- /packages/runtime-core/__tests__/mock/env.ts: -------------------------------------------------------------------------------- 1 | export const requestList: Map = new Map(); 2 | -------------------------------------------------------------------------------- /packages/runtime-core/__tests__/resources/load-remote/app2/say.sync.js: -------------------------------------------------------------------------------- 1 | console.log('load-remote say.sync.js loaded'); 2 | -------------------------------------------------------------------------------- /packages/runtime-core/src/constant.ts: -------------------------------------------------------------------------------- 1 | export const DEFAULT_SCOPE = 'default'; 2 | export const DEFAULT_REMOTE_TYPE = 'global'; 3 | -------------------------------------------------------------------------------- /packages/runtime-core/src/type/index.ts: -------------------------------------------------------------------------------- 1 | export * from './config'; 2 | export * from './plugin'; 3 | export * from './preload'; 4 | -------------------------------------------------------------------------------- /packages/runtime-core/src/types.ts: -------------------------------------------------------------------------------- 1 | export * from './type'; 2 | -------------------------------------------------------------------------------- /packages/runtime-tools/src/index.ts: -------------------------------------------------------------------------------- 1 | import * as runtime from '@module-federation/runtime'; 2 | export { runtime as default }; 3 | export * from '@module-federation/runtime'; 4 | -------------------------------------------------------------------------------- /packages/runtime-tools/src/runtime-core.ts: -------------------------------------------------------------------------------- 1 | export * from '@module-federation/runtime/core'; 2 | -------------------------------------------------------------------------------- /packages/runtime-tools/src/runtime.ts: -------------------------------------------------------------------------------- 1 | export * from '@module-federation/runtime'; 2 | -------------------------------------------------------------------------------- /packages/runtime-tools/src/webpack-bundler-runtime.ts: -------------------------------------------------------------------------------- 1 | export { default } from '@module-federation/webpack-bundler-runtime'; 2 | -------------------------------------------------------------------------------- /packages/runtime/__tests__/mock/env.ts: -------------------------------------------------------------------------------- 1 | export const requestList: Map = new Map(); 2 | -------------------------------------------------------------------------------- /packages/runtime/__tests__/resources/load-remote/app2/say.sync.js: -------------------------------------------------------------------------------- 1 | console.log('load-remote say.sync.js loaded'); 2 | -------------------------------------------------------------------------------- /packages/runtime/src/core.ts: -------------------------------------------------------------------------------- 1 | import runtimeCore from '@module-federation/runtime-core'; 2 | 3 | export * from '@module-federation/runtime-core'; 4 | 5 | export default runtimeCore; 6 | -------------------------------------------------------------------------------- /packages/runtime/src/types.ts: -------------------------------------------------------------------------------- 1 | export * from '@module-federation/runtime-core/types'; 2 | -------------------------------------------------------------------------------- /packages/sdk/__tests__/resources/getId.ts: -------------------------------------------------------------------------------- 1 | function getId(): number { 2 | return Math.random(); 3 | } 4 | 5 | export default getId; 6 | -------------------------------------------------------------------------------- /packages/storybook-addon/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nx/js/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /packages/storybook-addon/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib/storybook-addon'; 2 | -------------------------------------------------------------------------------- /packages/third-party-dts-extractor/README.md: -------------------------------------------------------------------------------- 1 | # @module-federation/third-party-dts-extractor 2 | -------------------------------------------------------------------------------- /packages/third-party-dts-extractor/src/index.ts: -------------------------------------------------------------------------------- 1 | export { ThirdPartyExtractor } from './ThirdPartyExtractor'; 2 | -------------------------------------------------------------------------------- /packages/third-party-dts-extractor/typedoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../typedoc.base.json"], 3 | "entryPoints": ["src/index.ts"], 4 | "tsconfig": "tsconfig.lib.json" 5 | } 6 | -------------------------------------------------------------------------------- /packages/typescript/src/index.ts: -------------------------------------------------------------------------------- 1 | import { FederatedTypesPlugin } from './plugins/FederatedTypesPlugin'; 2 | 3 | export { FederatedTypesPlugin }; 4 | export default FederatedTypesPlugin; 5 | -------------------------------------------------------------------------------- /packages/typescript/typedoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../typedoc.base.json"], 3 | "entryPoints": ["src/index.ts"], 4 | "tsconfig": "tsconfig.lib.json" 5 | } 6 | -------------------------------------------------------------------------------- /packages/utilities/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@nx/web/babel", 5 | { 6 | "useBuiltIns": "usage" 7 | } 8 | ] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /packages/utilities/src/utils/isEmpty.ts: -------------------------------------------------------------------------------- 1 | export const isObjectEmpty = (obj: T) => { 2 | for (const x in obj) { 3 | return false; 4 | } 5 | return true; 6 | }; 7 | -------------------------------------------------------------------------------- /packages/utilities/src/utils/react.tsx: -------------------------------------------------------------------------------- 1 | export { default as FederationBoundary } from '../components/FederationBoundary'; 2 | -------------------------------------------------------------------------------- /packages/webpack-bundler-runtime/src/constant.ts: -------------------------------------------------------------------------------- 1 | export const FEDERATION_SUPPORTED_TYPES = ['script']; 2 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["config:recommended"], 3 | "ignorePaths": ["**/demo/**", "**test/**", "**/configCases/**"] 4 | } 5 | -------------------------------------------------------------------------------- /tools/generators/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/module-federation/core/544c2baa234d60e52942eca3448615c215458241/tools/generators/.gitkeep -------------------------------------------------------------------------------- /tsconfig.tmp.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.base.json", 3 | "compilerOptions": { 4 | "paths": {} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /typedoc.base.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://typedoc.org/schema.json", 3 | "includeVersion": true 4 | } 5 | -------------------------------------------------------------------------------- /webpack/benchmark/benchmark.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/benchmark/createBenchmark.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/benchmark/createFixtures.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/benchmark/createFixtures2.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/benchmark/createTestCases.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/benchmark/md4-cache.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/benchmark/md4.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/benchmark/micro-compare.d.ts: -------------------------------------------------------------------------------- 1 | export = compare; 2 | declare function compare(n1: any, f1: any, n2: any, f2: any): string; 3 | -------------------------------------------------------------------------------- /webpack/benchmark/xxhash64-vs-md4.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/benchmark/xxhash64.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/examples/build-common.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/examples/buildAll.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/examples/examples.d.ts: -------------------------------------------------------------------------------- 1 | declare const _exports: any; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/hot/dev-server.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/hot/emitter.d.ts: -------------------------------------------------------------------------------- 1 | declare const _exports: EventEmitter; 2 | export = _exports; 3 | import EventEmitter = require('events'); 4 | -------------------------------------------------------------------------------- /webpack/hot/log-apply-result.d.ts: -------------------------------------------------------------------------------- 1 | declare function _exports( 2 | updatedModules: (string | number)[], 3 | renewedModules: (string | number)[] | null, 4 | ): void; 5 | export = _exports; 6 | -------------------------------------------------------------------------------- /webpack/hot/only-dev-server.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/hot/poll.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/hot/signal.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/lib/NoModeWarning.d.ts: -------------------------------------------------------------------------------- 1 | export = NoModeWarning; 2 | declare class NoModeWarning extends WebpackError { 3 | constructor(); 4 | } 5 | import WebpackError = require('./WebpackError'); 6 | -------------------------------------------------------------------------------- /webpack/lib/OptimizationStages.d.ts: -------------------------------------------------------------------------------- 1 | export const STAGE_BASIC: -10; 2 | export const STAGE_DEFAULT: 0; 3 | export const STAGE_ADVANCED: 10; 4 | -------------------------------------------------------------------------------- /webpack/lib/OptionsApply.d.ts: -------------------------------------------------------------------------------- 1 | export = OptionsApply; 2 | declare class OptionsApply { 3 | process(options: any, compiler: any): void; 4 | } 5 | -------------------------------------------------------------------------------- /webpack/lib/SingleEntryPlugin.d.ts: -------------------------------------------------------------------------------- 1 | declare const _exports: typeof import('./EntryPlugin'); 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/lib/SizeFormatHelpers.d.ts: -------------------------------------------------------------------------------- 1 | export function formatSize(size: number): string; 2 | -------------------------------------------------------------------------------- /webpack/lib/dependencies/EntryDependency.d.ts: -------------------------------------------------------------------------------- 1 | export = EntryDependency; 2 | declare class EntryDependency extends ModuleDependency {} 3 | import ModuleDependency = require('./ModuleDependency'); 4 | -------------------------------------------------------------------------------- /webpack/lib/hmr/HotModuleReplacement.runtime.d.ts: -------------------------------------------------------------------------------- 1 | declare function _exports(): void; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.d.ts: -------------------------------------------------------------------------------- 1 | declare function _exports(): void; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/lib/util/ArrayHelpers.d.ts: -------------------------------------------------------------------------------- 1 | export function equals(a: ArrayLike, b: ArrayLike): boolean; 2 | export function groupBy(arr: T[], fn: (value: T) => boolean): [T[], T[]]; 3 | -------------------------------------------------------------------------------- /webpack/lib/util/MapHelpers.d.ts: -------------------------------------------------------------------------------- 1 | export function getOrInsert(map: Map, key: K, computer: () => V): V; 2 | -------------------------------------------------------------------------------- /webpack/lib/util/extractUrlAndGlobal.d.ts: -------------------------------------------------------------------------------- 1 | declare function _exports(urlAndGlobal: string): string[]; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/lib/util/hash/md4.d.ts: -------------------------------------------------------------------------------- 1 | declare const _exports: any; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/lib/util/hash/xxhash64.d.ts: -------------------------------------------------------------------------------- 1 | declare const _exports: any; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/lib/util/nonNumericOnlyHash.d.ts: -------------------------------------------------------------------------------- 1 | declare function _exports(hash: string, hashLength: number): string; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/lib/util/numberHash.d.ts: -------------------------------------------------------------------------------- 1 | declare function _exports(str: string, range: number): number; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/lib/util/objectToMap.d.ts: -------------------------------------------------------------------------------- 1 | declare function _exports(obj: object): Map; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/setup/setup.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/AbstractMethodError.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ArrayHelpers.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/BannerPlugin.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/BenchmarkTestCases.benchmark.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/BinaryMiddleware.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/BuildDependencies.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ChangesAndRemovals.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Chunk.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Cli.basictest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Compiler-caching.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Compiler-filesystem-caching.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Compiler.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ConfigCacheTestCases.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ConfigTestCases.basictest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ConfigTestCases.template.d.ts: -------------------------------------------------------------------------------- 1 | export function describeCases(config: any): void; 2 | -------------------------------------------------------------------------------- /webpack/test/ContextModule.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ContextModuleFactory.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Defaults.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Errors.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Examples.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/FileSystemInfo.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/HotModuleReplacementPlugin.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/HotTestCases.template.d.ts: -------------------------------------------------------------------------------- 1 | export function describeCases(config: any): void; 2 | -------------------------------------------------------------------------------- /webpack/test/HotTestCasesAsyncNode.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/HotTestCasesNode.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/HotTestCasesWeb.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/HotTestCasesWebWorker.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/JavascriptParser.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/LazySet.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/LocalModulesHelpers.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/MemoryLimitTestCases.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ModuleDependencyError.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/MultiCompiler.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/MultiItemCache.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/MultiStats.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/MultiWatching.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/NodeTemplatePlugin.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/NormalModule.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/NullDependency.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/PersistentCaching.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ProfilingPlugin.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ProfilingPlugin.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/ProgressPlugin.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/RawModule.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/RequestShortener.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/RuntimeTemplate.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/SemVer.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/SharingUtil.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/SideEffectsFlagPlugin.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/SizeFormatHelpers.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/SortableSet.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Stats.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/StatsTestCases.basictest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Template.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCases.template.d.ts: -------------------------------------------------------------------------------- 1 | export function describeCases(config: any): void; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesAllCombined.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesCachePack.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevelopment.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolCheapSourceMap.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolEval.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolEvalCheapModuleSourceMap.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolEvalCheapSourceMap.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolEvalDeterministicModuleIds.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolEvalNamedModules.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolEvalSourceMap.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolInlineCheapSourceMap.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolInlineSourceMap.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesDevtoolSourceMap.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesHot.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesMinimizedSourceMap.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesModule.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesNormal.basictest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesProdGlobalUsed.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/TestCasesProduction.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/URLAbsoluteSpecifier.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Validation.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/WasmHashes.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/Watch.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/WatchCacheUnaffectedTestCases.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/WatchClose.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/WatchDetection.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/WatchSuspend.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/WatchTestCases.longtest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/WatchTestCases.template.d.ts: -------------------------------------------------------------------------------- 1 | export function describeCases(config: any): void; 2 | -------------------------------------------------------------------------------- /webpack/test/WatcherEvents.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/WebpackError.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/cleverMerge.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/compareLocations.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/compileBooleanMatcher.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/deterministicGrouping.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/extractUrlAndGlobal.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/fixtures/errors/throw-error-plugin.d.ts: -------------------------------------------------------------------------------- 1 | export function apply(compiler: any): void; 2 | -------------------------------------------------------------------------------- /webpack/test/formatLocation.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/helpers/CurrentScript.d.ts: -------------------------------------------------------------------------------- 1 | export = CurrentScript; 2 | declare class CurrentScript { 3 | constructor(path?: string, type?: string); 4 | src: string; 5 | type: string; 6 | } 7 | -------------------------------------------------------------------------------- /webpack/test/helpers/currentWatchStep.d.ts: -------------------------------------------------------------------------------- 1 | export { undefined as step }; 2 | -------------------------------------------------------------------------------- /webpack/test/helpers/deprecationTracking.d.ts: -------------------------------------------------------------------------------- 1 | export function start(handler: any): () => any[]; 2 | -------------------------------------------------------------------------------- /webpack/test/helpers/infrastructureLogErrors.d.ts: -------------------------------------------------------------------------------- 1 | declare function _exports(logs: string[], config: object): string[]; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/test/helpers/prepareOptions.d.ts: -------------------------------------------------------------------------------- 1 | declare function _exports(options: any, argv: any): any; 2 | export = _exports; 3 | -------------------------------------------------------------------------------- /webpack/test/helpers/remove.d.ts: -------------------------------------------------------------------------------- 1 | export function remove(src: any): void; 2 | -------------------------------------------------------------------------------- /webpack/test/helpers/warmup-webpack.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/identifier.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/js/NodeTemplatePlugin/result.d.ts: -------------------------------------------------------------------------------- 1 | export { n as abc }; 2 | declare var n: {}; 3 | -------------------------------------------------------------------------------- /webpack/test/js/NodeTemplatePluginSingle/result2.d.ts: -------------------------------------------------------------------------------- 1 | export const def: {}; 2 | -------------------------------------------------------------------------------- /webpack/test/nonNumericOnlyHash.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/numberHash.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/objectToMap.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/propertyAccess.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/propertyName.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/setupTestFramework.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/smartGrouping.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/target-browserslist.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/test/walkCssTokens.unittest.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/tooling/decode-debug-hash.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/tooling/generate-runtime-code.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/tooling/generate-wasm-code.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /webpack/tooling/print-cache-file.d.ts: -------------------------------------------------------------------------------- 1 | export type SizeInfo = { 2 | size: number; 3 | lazySize: number; 4 | }; 5 | --------------------------------------------------------------------------------