{"id":17031526,"url":"https://github.com/tobiastimm/using-metro-for-web","last_synced_at":"2026-03-03T06:36:49.734Z","repository":{"id":41796403,"uuid":"178477296","full_name":"tobiastimm/using-metro-for-web","owner":"tobiastimm","description":"A boilerplate to use 🚆 for web bundling!","archived":false,"fork":false,"pushed_at":"2023-01-26T06:06:22.000Z","size":1680,"stargazers_count":7,"open_issues_count":17,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T12:49:33.646Z","etag":null,"topics":["bundler","metro","react","web"],"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/tobiastimm.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}},"created_at":"2019-03-29T21:24:59.000Z","updated_at":"2024-02-05T19:07:37.000Z","dependencies_parsed_at":"2023-02-01T08:46:07.644Z","dependency_job_id":null,"html_url":"https://github.com/tobiastimm/using-metro-for-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tobiastimm/using-metro-for-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiastimm%2Fusing-metro-for-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiastimm%2Fusing-metro-for-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiastimm%2Fusing-metro-for-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiastimm%2Fusing-metro-for-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobiastimm","download_url":"https://codeload.github.com/tobiastimm/using-metro-for-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiastimm%2Fusing-metro-for-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30034133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T06:09:21.518Z","status":"ssl_error","status_checked_at":"2026-03-03T06:08:47.858Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bundler","metro","react","web"],"created_at":"2024-10-14T08:24:31.071Z","updated_at":"2026-03-03T06:36:49.718Z","avatar_url":"https://github.com/tobiastimm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# using-metro-for-web\n\n\u003e A boilerplate to use 🚇 for web bundling!\n\nThis boilerplate shows how to use [`metro`](https://github.com/facebook/metro) as a web bundler.\n\nI'm using `react` in this boilerplate, because the main use-case of metro is bundling for `react-native`. It should work with other frameworks, but would need a bit of work.\n\nStyling is restricted to `css-in-js` only atm, because there are no transformers for css, scss, ... yet.\n\nI`ve created a hackish [metro-css-transformer](https://github.com/tobiastimm/metro-css-transformer) for anyone interested.\n\nMost of this is still work in progress, but I want to explore the possibilities and differences, advantages, disadvantages of bundling with `metro`.\n\nFeel free to help or share your ideas for continuously improvement!\n\n## Getting Started\n\nClone this repo\n\n```bash\ngit clone https://github.com/tobiastimm/using-metro-for-web.git\n```\n\nInstall dependencies\n\n```bash\nyarn install\n```\n\nRun the server\n\n```bash\nyarn start\n```\n\n## ToDo\n\n- [x] HMR (really really basic)\n- [ ] Support for HTML, CSS, SCSS, LESS, Stylus, ...\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobiastimm%2Fusing-metro-for-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobiastimm%2Fusing-metro-for-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobiastimm%2Fusing-metro-for-web/lists"}