{"id":13531722,"url":"https://github.com/DaniGuardiola/bun-plugin-solid","last_synced_at":"2025-04-01T20:30:28.715Z","repository":{"id":212099640,"uuid":"730707211","full_name":"DaniGuardiola/bun-plugin-solid","owner":"DaniGuardiola","description":"A plugin to compile Solid.js with Bun.","archived":false,"fork":false,"pushed_at":"2023-12-12T14:06:15.000Z","size":88,"stargazers_count":42,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-31T01:41:17.734Z","etag":null,"topics":["bun","solidjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/DaniGuardiola.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-12-12T13:57:23.000Z","updated_at":"2024-12-30T23:19:19.000Z","dependencies_parsed_at":"2023-12-12T15:28:42.994Z","dependency_job_id":"d88d4c61-22a5-43ea-bcf1-b5a52cada270","html_url":"https://github.com/DaniGuardiola/bun-plugin-solid","commit_stats":null,"previous_names":["daniguardiola/bun-plugin-solid"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniGuardiola%2Fbun-plugin-solid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniGuardiola%2Fbun-plugin-solid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniGuardiola%2Fbun-plugin-solid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaniGuardiola%2Fbun-plugin-solid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaniGuardiola","download_url":"https://codeload.github.com/DaniGuardiola/bun-plugin-solid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709921,"owners_count":20821296,"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":["bun","solidjs"],"created_at":"2024-08-01T07:01:05.148Z","updated_at":"2025-04-01T20:30:28.352Z","avatar_url":"https://github.com/DaniGuardiola.png","language":"TypeScript","funding_links":[],"categories":["🛠️ Tooling"],"sub_categories":["Apps/Websites"],"readme":"# bun-plugin-solid\n\nA plugin to compile Solid.js code with Bun.\n\n```bash\nbun add -D bun-plugin-solid\n```\n\n```tsx\nimport { SolidPlugin } from \"bun-plugin-solid\";\n\nawait Bun.build({\n  // ...\n  plugins: [SolidPlugin()],\n});\n```\n\n## Options\n\nAll passed options are forwarded to [`babel-preset-solid`](https://www.npmjs.com/package/babel-preset-solid). For example:\n\n```tsx\nawait Bun.build({\n  // ...\n  plugins: [SolidPlugin({ generate: \"ssr\", hydratable: true })],\n});\n```\n\n## About this plugin and motivation\n\nThis plugin uses babel under the hood, which is not ideal. However, there is (currently) no clear public roadmap for proper compilation of Solid.js in Bun, so this plugin is a temporary solution for those (like me) who want to use Bun to build their Solid.js projects.\n\nThe hope is that it'll become obsolete once there is a better solution, at which point it can simply be removed.\n\nThe plugin will only run in for `.jsx` and `.tsx` files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaniGuardiola%2Fbun-plugin-solid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDaniGuardiola%2Fbun-plugin-solid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaniGuardiola%2Fbun-plugin-solid/lists"}