{"id":17358847,"url":"https://github.com/muke1908/dynamic-import-repro","last_synced_at":"2025-03-27T16:17:08.152Z","repository":{"id":170724745,"uuid":"645848338","full_name":"muke1908/dynamic-import-repro","owner":"muke1908","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-29T18:17:12.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T19:45:00.714Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muke1908.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":"2023-05-26T15:19:38.000Z","updated_at":"2023-05-26T16:02:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"403f15eb-ec04-4aec-a11f-c44764778aed","html_url":"https://github.com/muke1908/dynamic-import-repro","commit_stats":null,"previous_names":["muke1908/dynamic-import-repro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muke1908%2Fdynamic-import-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muke1908%2Fdynamic-import-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muke1908%2Fdynamic-import-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muke1908%2Fdynamic-import-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muke1908","download_url":"https://codeload.github.com/muke1908/dynamic-import-repro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245878924,"owners_count":20687297,"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","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-15T19:07:15.354Z","updated_at":"2025-03-27T16:17:08.136Z","avatar_url":"https://github.com/muke1908.png","language":"JavaScript","readme":"# dynamic-import-repro\n\n### Setup instruction:\n1 - Run `npm run setup`  \n2 - Run `npm serve`  \n\n----\n\n### Issue:   \nThe app (`./app`) is an example client app.  \nmodule (`./module`) is an example npm module.   \n\nmodule is using webpack dynamic import and creates two file in dist - main.js and ts_dynamic_ts.js\n\nThe app (`./app`) is bundling dependency using webpack. However it's not copying chunk properly. It only copies the main.js from './`module/dist/main.js`. So it fails to load ts_dynamic_ts.js when it's required.\n\nExpected behavior: All chunks should be copied to client app. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuke1908%2Fdynamic-import-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuke1908%2Fdynamic-import-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuke1908%2Fdynamic-import-repro/lists"}