{"id":15379410,"url":"https://github.com/tadatuta/rewire-entry","last_synced_at":"2025-10-25T14:10:23.200Z","repository":{"id":57355312,"uuid":"144967486","full_name":"tadatuta/rewire-entry","owner":"tadatuta","description":"Rewire to change entry points of create-react-app","archived":false,"fork":false,"pushed_at":"2019-03-22T10:46:36.000Z","size":6,"stargazers_count":27,"open_issues_count":1,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T23:11:12.665Z","etag":null,"topics":["create-react-app","react","react-app-rewired","reactjs","webpack"],"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/tadatuta.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}},"created_at":"2018-08-16T09:36:30.000Z","updated_at":"2023-06-26T15:37:05.000Z","dependencies_parsed_at":"2022-09-26T16:31:49.395Z","dependency_job_id":null,"html_url":"https://github.com/tadatuta/rewire-entry","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/tadatuta%2Frewire-entry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadatuta%2Frewire-entry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadatuta%2Frewire-entry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadatuta%2Frewire-entry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tadatuta","download_url":"https://codeload.github.com/tadatuta/rewire-entry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249120030,"owners_count":21215864,"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":["create-react-app","react","react-app-rewired","reactjs","webpack"],"created_at":"2024-10-01T14:19:03.549Z","updated_at":"2025-10-25T14:10:23.131Z","avatar_url":"https://github.com/tadatuta.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rewire-entry\n\nRewire for [react-app-rewired](https://github.com/timarney/react-app-rewired) to change entry points of [create-react-app](https://github.com/facebook/create-react-app).\n\n## Usage\n\n```\nnpm install react-app-rewired rewire-entry --save-dev\n```\n\nCreate a `config-overrides.js` file in the root directory with something like this:\n\n```js\nconst rewireEntry = require('rewire-entry');\n\nmodule.exports = rewireEntry({\n  entry: ['desktop.js', 'touch.js']\n});\n```\n\nor for typescript support:\n\n```js\nconst rewireTypescript = require('react-app-rewire-typescript');\nconst rewireEntry = require('rewire-entry')({\n  entry: ['desktop.tsx', 'touch.tsx']\n});\n\nmodule.exports = {\n  webpack: (config, env) =\u003e {\n    config = rewireTypescript(config, env);\n    config = rewireEntry.webpack(config, env);\n\n    return config;\n  },\n  devServer: (config, env) =\u003e {\n    config = rewireEntry.devServer(config, env);\n\n    return config;\n  }\n};\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadatuta%2Frewire-entry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftadatuta%2Frewire-entry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadatuta%2Frewire-entry/lists"}