{"id":15789956,"url":"https://github.com/nonblocking/mashroom-demo-shared-dll","last_synced_at":"2025-10-07T16:57:59.029Z","repository":{"id":56310494,"uuid":"221921029","full_name":"nonblocking/mashroom-demo-shared-dll","owner":"nonblocking","description":"Demonstrates how to share libraries (\"web dlls\") between Microfrontends.","archived":false,"fork":false,"pushed_at":"2022-12-24T09:08:43.000Z","size":2452,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-01T15:14:11.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nonblocking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-15T12:36:27.000Z","updated_at":"2022-04-25T07:07:01.000Z","dependencies_parsed_at":"2023-01-30T20:31:33.574Z","dependency_job_id":null,"html_url":"https://github.com/nonblocking/mashroom-demo-shared-dll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nonblocking/mashroom-demo-shared-dll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonblocking%2Fmashroom-demo-shared-dll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonblocking%2Fmashroom-demo-shared-dll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonblocking%2Fmashroom-demo-shared-dll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonblocking%2Fmashroom-demo-shared-dll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nonblocking","download_url":"https://codeload.github.com/nonblocking/mashroom-demo-shared-dll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nonblocking%2Fmashroom-demo-shared-dll/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278811845,"owners_count":26050181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T22:04:19.514Z","updated_at":"2025-10-07T16:57:59.008Z","avatar_url":"https://github.com/nonblocking.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Mashroom Demo Shared Web DLL\n\nDemo for [Mashroom Server](https://www.mashroom-server.com) that shows how to share vendor modules (e.g. React) between multiple \nPortal Apps (Microfrontends).\n\nIt uses the *webpack* [DLL Plugin](https://webpack.js.org/plugins/dll-plugin) together with the *globalResource* mechanism \nof *Mashroom Portal* and the [Mashroom DLL Webpack Plugin](https://github.com/nonblocking/mashroom-dll-webpack-plugin)\n\n## Usage\n\n 1. Setup\n\n    npm run setup\n    npm run build\n    \n 2. Install [Mashroom Portal Quickstart](https://github.com/nonblocking/mashroom-portal-quickstart)      \n 3. Add the full path to the *packages/* folder in this repo to *pluginPackageFolders* in *config/development/mashroom.json*\n 4. Start the Portal and open http://localhost:5050/portal\n 5. On any Portal page add the Apps *Demo Shared DLL App 1* and *Demo Shared DLL APP 2* \n \nYou will see that the Buttons are numbered across the two apps since the use the same *NumberedButton* React component\nin the *demo-ui-library* component.\n\nAlso, you can see that the App bundles are really tiny, since they don't contain any vendor libraries:\n\n![Screenshot](./Screenshot.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonblocking%2Fmashroom-demo-shared-dll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnonblocking%2Fmashroom-demo-shared-dll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnonblocking%2Fmashroom-demo-shared-dll/lists"}