{"id":21082262,"url":"https://github.com/olsonpm/rollup-reexport-default-conflict","last_synced_at":"2025-03-14T04:43:08.766Z","repository":{"id":80606770,"uuid":"79766733","full_name":"olsonpm/rollup-reexport-default-conflict","owner":"olsonpm","description":null,"archived":false,"fork":false,"pushed_at":"2017-01-23T03:41:11.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T23:45:41.149Z","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/olsonpm.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":"2017-01-23T03:33:41.000Z","updated_at":"2017-01-23T03:40:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"755b27aa-2fce-4c55-b092-fb47e24f552c","html_url":"https://github.com/olsonpm/rollup-reexport-default-conflict","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olsonpm%2Frollup-reexport-default-conflict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olsonpm%2Frollup-reexport-default-conflict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olsonpm%2Frollup-reexport-default-conflict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olsonpm%2Frollup-reexport-default-conflict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olsonpm","download_url":"https://codeload.github.com/olsonpm/rollup-reexport-default-conflict/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526853,"owners_count":20305112,"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-11-19T20:13:29.297Z","updated_at":"2025-03-14T04:43:08.758Z","avatar_url":"https://github.com/olsonpm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## example of re-export bug\n\nrun `npm i \u0026\u0026 npm run rollup`\n\nto display the following  \n\n*note the erroneous \"Conflicting namespaces\" message*\n\n```sh\n\u003e rollup-reexport-default-conflict@1.0.0 rollup /home/phil/git-repos/personal/rollup-reexport-default-conflict\n\u003e ./node_modules/rollup/bin/rollup --format es index.js\n\n⚠️   Conflicting namespaces: dep1.js re-exports 'default' from both dep2.js (will be ignored) and dep3.js\n\nconst namedDep2 = 'this is namedDep2';\n\nconst namedDep3 = 'this is namedDep3';\n\n\n\nvar dep1 = Object.freeze({\n        namedDep2: namedDep2,\n        namedDep3: namedDep3\n});\n\nglobal.keepDep1Alive = dep1;\n```\n\nas for the js files\n\n```js\n// index.js\nimport * as dep1 from './dep1';\n\nglobal.keepDep1Alive = dep1;\n\n\n// dep1.js\nexport * from './dep2';\nexport * from './dep3';\n\n\n// dep2.js\nexport default 'this is dep2';\n\nconst namedDep2 = 'this is namedDep2';\nexport { namedDep2 } ;\n\n\n// dep3.js\nexport default 'this is dep3';\n\nconst namedDep3 = 'this is namedDep3';\nexport { namedDep3 } ;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folsonpm%2Frollup-reexport-default-conflict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folsonpm%2Frollup-reexport-default-conflict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folsonpm%2Frollup-reexport-default-conflict/lists"}