{"id":16856299,"url":"https://github.com/peterblazejewicz/angular-umd-bundle","last_synced_at":"2026-03-04T16:31:44.188Z","repository":{"id":151363565,"uuid":"463232302","full_name":"peterblazejewicz/angular-umd-bundle","owner":"peterblazejewicz","description":"If you are working on a topic of trimming down size of the multiple Angular's projects, without complexity of Webpack's MF (so webpack's specific feature stays hidden), this is a project for you.","archived":false,"fork":false,"pushed_at":"2022-03-06T18:56:41.000Z","size":465,"stargazers_count":6,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T08:03:11.637Z","etag":null,"topics":["angular","bundle","ems","externals","umd","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/peterblazejewicz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-24T17:06:23.000Z","updated_at":"2024-08-16T16:53:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"8958343d-ea2d-4e47-a24d-6eb7d7850a8f","html_url":"https://github.com/peterblazejewicz/angular-umd-bundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peterblazejewicz/angular-umd-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterblazejewicz%2Fangular-umd-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterblazejewicz%2Fangular-umd-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterblazejewicz%2Fangular-umd-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterblazejewicz%2Fangular-umd-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterblazejewicz","download_url":"https://codeload.github.com/peterblazejewicz/angular-umd-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterblazejewicz%2Fangular-umd-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30086451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","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":["angular","bundle","ems","externals","umd","webpack"],"created_at":"2024-10-13T14:03:29.676Z","updated_at":"2026-03-04T16:31:44.170Z","avatar_url":"https://github.com/peterblazejewicz.png","language":"TypeScript","readme":"# Angular UMD Bundle\n\nThis project is rework of [sample by M. Gechev](https://github.com/mgechev/angular-umd-bundle):\n\n\u003e The Ivy library distribution format will no longer distribute a UMD bundle. In this repository you can find how to produce a UMD bundle for your use cases.\n\n(which means NG \u003e= 13 version)\n\nDone as part of review of this particular problem:\n[externals not working for Angular 13](https://github.com/manfredsteyer/ngx-build-plus/issues/314)\n\nIf you are working on a topic of trimming down size of multiple Angular projects, without complexity of Webpack MF (so webpack specific feature stays hidden), this is a project for you:\n\n- custom build step to extract some dependencies out of the bundle\n- custom `rollup` config\n- using that different assets together (the project uses one of many possible ways to do this)\n\nExample size of the project specific assets (without externals):\n\n```bash\nInitial Chunk Files           | Names         | Raw Size | Estimated Transfer Size\npolyfills.08f1e56677fe7568.js | polyfills     | 36.22 kB | 11.53 kB\nmain.8446b2f654044436.js      | main          |  6.69 kB | 2.28 kB\nstyles.32505c4787ba148c.css   | styles        |  3.43 kB | 1.05 kB\nruntime.6a44049d9ab1c63f.js   | runtime       |  1.04 kB | 599 bytes\n                              | Initial Total | 47.39 kB | 15.45 kB\n```\n\n## Build scripts\n\nIn this order:\n\n```bash\nnpm run build:rollup\n```\n\n(next your specific script):\n\n```bash\nnpm serve\n```\n\n```bash\nnpm build\n```\n\nor event tests:\n\n```bash\nnpm test\n```\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.\n\n## Author\n\n@peterblazejewicz\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterblazejewicz%2Fangular-umd-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterblazejewicz%2Fangular-umd-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterblazejewicz%2Fangular-umd-bundle/lists"}