{"id":16615519,"url":"https://github.com/domiii/webpack-plugin-order-test","last_synced_at":"2025-06-29T16:37:50.575Z","repository":{"id":137713521,"uuid":"371320997","full_name":"Domiii/webpack-plugin-order-test","owner":"Domiii","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-27T12:37:17.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T01:52:56.850Z","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/Domiii.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":"2021-05-27T09:38:52.000Z","updated_at":"2021-05-27T12:37:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"650a4004-2f0e-49c9-8cbd-77a6e65d64f2","html_url":"https://github.com/Domiii/webpack-plugin-order-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Domiii/webpack-plugin-order-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2Fwebpack-plugin-order-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2Fwebpack-plugin-order-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2Fwebpack-plugin-order-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2Fwebpack-plugin-order-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Domiii","download_url":"https://codeload.github.com/Domiii/webpack-plugin-order-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Domiii%2Fwebpack-plugin-order-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262628169,"owners_count":23339738,"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-12T02:09:39.650Z","updated_at":"2025-06-29T16:37:50.548Z","avatar_url":"https://github.com/Domiii.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Run `npm start` to reproduce the problem:\n\n1. It builds the same input file (`src/index.js`) in two different versions: (i) one modded with the custom `@dbux/babel-plugin`, (ii) one the original.\n1. You see that if the babel plugin modifies the code, `webpack.DefinePlugin` fails to make the replacements.\n1. Also note that it builds it once each for webpack versions v4 and v5. They have the same issue.\n\nThe final output (or a manual inspection of the output files in `dist`) indicate that replacement worked if no modification took place. It looks something like this:\n\n\u003e app-5.js: good\n\u003e \n\u003e app-5-modded.js: bad\n\u003e \n\u003e app-4.js: good\n\u003e \n\u003e app-4-modded.js: bad\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomiii%2Fwebpack-plugin-order-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomiii%2Fwebpack-plugin-order-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomiii%2Fwebpack-plugin-order-test/lists"}