{"id":18068481,"url":"https://github.com/unadlib/webpack-mf-workers","last_synced_at":"2026-01-23T20:41:04.086Z","repository":{"id":259938336,"uuid":"879873184","full_name":"unadlib/webpack-mf-workers","owner":"unadlib","description":"Using Webpack Module Federation in SharedWorker","archived":false,"fork":false,"pushed_at":"2024-10-30T09:50:38.000Z","size":441,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-26T08:35:06.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unadlib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-28T17:39:07.000Z","updated_at":"2024-10-30T09:50:42.000Z","dependencies_parsed_at":"2025-02-11T12:44:04.827Z","dependency_job_id":"52a78bcf-f714-4c04-bf16-18f589e6e56c","html_url":"https://github.com/unadlib/webpack-mf-workers","commit_stats":null,"previous_names":["unadlib/webpack-mf-workers"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unadlib/webpack-mf-workers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unadlib%2Fwebpack-mf-workers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unadlib%2Fwebpack-mf-workers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unadlib%2Fwebpack-mf-workers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unadlib%2Fwebpack-mf-workers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unadlib","download_url":"https://codeload.github.com/unadlib/webpack-mf-workers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unadlib%2Fwebpack-mf-workers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28699716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-31T08:06:48.640Z","updated_at":"2026-01-23T20:41:04.070Z","avatar_url":"https://github.com/unadlib.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-mf-workers\nUsing Webpack Module Federation in SharedWorker\n\nFederated module (defined under `module` folder), can be consumed by main thread in host application (defined under `host` folder), and it also can be consumed by worker thread.\n\n## How to run\n\n```\nyarn\nyarn start:module\nyarn start:host\n```\n\n[Open browser](http://localhost:3000) and observe error in console.\n\n![shared worker](./image.png)\n\n## How to fix\n\n1. Use SharedWorker instead of Worker in host application\n2. Dynamically import bootstrap file in worker thread\n3. Use promise based dynamic remotes `host/webpack.host-config.js`\n4. Use multiple entry points in webpack config `module/webpack.module-config.js`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funadlib%2Fwebpack-mf-workers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funadlib%2Fwebpack-mf-workers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funadlib%2Fwebpack-mf-workers/lists"}