{"id":17375884,"url":"https://github.com/drewml/webpack-loadmodule-bug","last_synced_at":"2025-10-07T08:23:15.715Z","repository":{"id":72799401,"uuid":"118981190","full_name":"DrewML/webpack-loadmodule-bug","owner":"DrewML","description":"Replicated a bug with `this.loadModule` in loaders","archived":false,"fork":false,"pushed_at":"2018-01-25T23:48:09.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T22:29:06.783Z","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/DrewML.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":"2018-01-25T23:47:56.000Z","updated_at":"2018-01-25T23:48:10.000Z","dependencies_parsed_at":"2023-02-24T02:15:59.999Z","dependency_job_id":null,"html_url":"https://github.com/DrewML/webpack-loadmodule-bug","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"dded876b4fe17ece27c5b3488a75be1ae5662b38"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Fwebpack-loadmodule-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Fwebpack-loadmodule-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Fwebpack-loadmodule-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Fwebpack-loadmodule-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrewML","download_url":"https://codeload.github.com/DrewML/webpack-loadmodule-bug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245916256,"owners_count":20693389,"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-16T04:04:08.851Z","updated_at":"2025-10-07T08:23:10.665Z","avatar_url":"https://github.com/DrewML.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack loadModule Bug\n\nWhen [`this.loadModule`](https://webpack.js.org/api/loaders/#this-loadmodule) is used to load a file that has its own dependencies, the dependencies of the module loaded with `this.loadModule` will never be resolved.\n\n## To Replicate:\n1. Clone this repository\n2. Run `npm install`\n3. Run `npm start`\n4. Open `dist/bundle.js` and search for `Cannot find module`\n\n## Related\n- [StackOverflow question](https://stackoverflow.com/questions/47229666/how-to-write-a-loader-that-depends-on-some-value-in-another-module-but-still-out/47264529#47264529)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewml%2Fwebpack-loadmodule-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewml%2Fwebpack-loadmodule-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewml%2Fwebpack-loadmodule-bug/lists"}