{"id":30713972,"url":"https://github.com/symind/rspack-persistent-cache-bug","last_synced_at":"2025-09-03T04:10:36.345Z","repository":{"id":303718409,"uuid":"1016444245","full_name":"SyMind/rspack-persistent-cache-bug","owner":"SyMind","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-09T03:22:19.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-09T04:28:05.248Z","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/SyMind.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,"zenodo":null}},"created_at":"2025-07-09T03:06:31.000Z","updated_at":"2025-07-09T03:22:21.000Z","dependencies_parsed_at":"2025-07-09T04:28:16.298Z","dependency_job_id":"05ffea86-71f2-47e6-886a-e712308e7a52","html_url":"https://github.com/SyMind/rspack-persistent-cache-bug","commit_stats":null,"previous_names":["symind/rspack-persistent-cache-bug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SyMind/rspack-persistent-cache-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Frspack-persistent-cache-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Frspack-persistent-cache-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Frspack-persistent-cache-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Frspack-persistent-cache-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyMind","download_url":"https://codeload.github.com/SyMind/rspack-persistent-cache-bug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyMind%2Frspack-persistent-cache-bug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273387607,"owners_count":25096395,"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-09-03T02:00:09.631Z","response_time":76,"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":"2025-09-03T04:10:28.348Z","updated_at":"2025-09-03T04:10:36.338Z","avatar_url":"https://github.com/SyMind.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rspack persistent bug\n\n复现步骤\n\n1. pnpm install \u0026\u0026 pnpm build\n2. 修改 `rspack.config.js` 变更 entry 为 `./loader.js?pagePath=.%2Fb.js!`\n3. 删除 `a.js` 文件\n4. 执行 `pnpm build`\n\n报错信息如下\n\n```\nRROR in  (./loader.js?pagePath=.%2Fb.js!)\n  × Module not found: Can't resolve './b.js' in '/rspack-persistent-cache-bug'\n   ╭─[2:12]\n 1 │ import * as userland from \"./b.js\";\n 2 │ console.log(userland);\n   ·             ────────\n   ╰────\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymind%2Frspack-persistent-cache-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymind%2Frspack-persistent-cache-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymind%2Frspack-persistent-cache-bug/lists"}