{"_id":"@angius/bun-plugin-solid","_rev":"3-5d1f93c08c878ff60e13fa09b952281b","name":"@angius/bun-plugin-solid","dist-tags":{"latest":"1.4.2"},"versions":{"1.4.0":{"name":"@angius/bun-plugin-solid","version":"1.4.0","author":{"name":"Atulin"},"license":"MIT","_id":"@angius/bun-plugin-solid@1.4.0","maintainers":[{"name":"angius","email":"koumarin@gmail.com"}],"homepage":"https://github.com/Atulin/bun-plugin-solid#readme","bugs":{"url":"https://github.com/Atulin/bun-plugin-solid/issues"},"dist":{"shasum":"3ce680b01a94c65193550ac185e9058592e332b4","tarball":"https://registry.npmjs.org/@angius/bun-plugin-solid/-/bun-plugin-solid-1.4.0.tgz","fileCount":26,"integrity":"sha512-Ln12XEiot51LUieXbz3+OCHAWq9f5+KEt33PHrWwDVZ56OgEpBbVG6zyi6ciHhoDFvJbCqV3Z3/Z+WK0n88E4A==","signatures":[{"sig":"MEYCIQDERtDf4Td4REfE92AA91NzgtBm3Po5/bvXr4t1XI3ftAIhAIzIJTE6gxLj38Fg5LI/UA294dCNoTPdeRN4+eAXHgvp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65221},"type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.3.10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"5a517ec1447d9aaf9669d1ad650fe40c5bfb79de","_npmUser":{"name":"angius","email":"koumarin@gmail.com"},"repository":{"url":"git+https://github.com/Atulin/bun-plugin-solid.git","type":"git"},"_npmVersion":"11.6.1","description":"A plugin to compile Solid.js with Bun.","directories":{},"_nodeVersion":"24.10.0","dependencies":{"babel-preset-solid":"^1.9.10","@babel/preset-typescript":"^7.28.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"convert":"^7.0.0","bun-types":"latest","@biomejs/biome":"^2.4.5","bun-plugin-isolated-decl":"^0.2.9"},"peerDependencies":{"bun":"^1.3.10","typescript":"^5.9.3","@babel/core":"^7.29.0","@types/babel__core":"^7.20.5"},"_npmOperationalInternal":{"tmp":"tmp/bun-plugin-solid_1.4.0_1772657913455_0.8025769930991249","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@angius/bun-plugin-solid","version":"1.4.1","author":{"name":"Atulin"},"license":"MIT","_id":"@angius/bun-plugin-solid@1.4.1","maintainers":[{"name":"angius","email":"koumarin@gmail.com"}],"homepage":"https://github.com/Atulin/bun-plugin-solid#readme","bugs":{"url":"https://github.com/Atulin/bun-plugin-solid/issues"},"dist":{"shasum":"530031390e2b76589244d10a5d87bbebc9bfe193","tarball":"https://registry.npmjs.org/@angius/bun-plugin-solid/-/bun-plugin-solid-1.4.1.tgz","fileCount":6,"integrity":"sha512-c6WK88q2FZ6GJxQDyWfOy87PvUoyLiHsWo9E02c98m7AcFUsr19OBu/YqNpSfW6X3qFU/K7eCCHgnmG5oEsOCA==","signatures":[{"sig":"MEUCIQDYlnY+1lXvmZIAZK0IDbxTE7hak8/FLSBntOiPtWSdMgIgUTVKi/0C4tl6MprPyldLpeFIU6OaVigtLPWrDr5ysaw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@angius%2fbun-plugin-solid@1.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4609075},"type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.3.10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"31c372300f407315c0d0127005203dc7a452a298","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d0cacf0e-a0d0-4b77-a3c7-f3087a7bfa26"}},"repository":{"url":"git+https://github.com/Atulin/bun-plugin-solid.git","type":"git"},"_npmVersion":"11.11.0","description":"A plugin to compile Solid.js with Bun.","directories":{},"_nodeVersion":"25.8.0","dependencies":{"bun-only":"^0.0.1","babel-preset-solid":"^1.9.10","@babel/preset-typescript":"^7.28.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"convert":"^7.0.0","bun-types":"latest","@biomejs/biome":"^2.4.5","bun-plugin-isolated-decl":"^0.2.9"},"peerDependencies":{"typescript":"^5.9.3","@babel/core":"^7.29.0","@types/babel__core":"^7.20.5"},"_npmOperationalInternal":{"tmp":"tmp/bun-plugin-solid_1.4.1_1772662264527_0.4431656139457456","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@angius/bun-plugin-solid","description":"A plugin to compile Solid.js with Bun.","version":"1.4.2","author":{"name":"Atulin"},"engines":{"bun":">=1.3.10"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Atulin/bun-plugin-solid.git"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"types":"./dist/index.d.ts","dependencies":{"@babel/preset-typescript":"^7.28.5","babel-preset-solid":"^1.9.10","bun-only":"^0.0.1"},"devDependencies":{"@biomejs/biome":"^2.4.5","bun-types":"latest","bun-plugin-isolated-decl":"^0.2.9","convert":"^7.0.0"},"peerDependencies":{"@babel/core":"^7.29.0","@types/babel__core":"^7.20.5","typescript":"^5.9.3"},"publishConfig":{"access":"public"},"gitHead":"19d7c1e0d211db2a0f6a08bfe6979eecf3c70b5e","_id":"@angius/bun-plugin-solid@1.4.2","bugs":{"url":"https://github.com/Atulin/bun-plugin-solid/issues"},"homepage":"https://github.com/Atulin/bun-plugin-solid#readme","_nodeVersion":"25.8.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-WUGjMZj+3ZuWvBjKe2eMVmF1i5ce2JALO2s3z8H90OPfNwyS/r3bH/N/hgZYd79NwyR1ZkU6RqV9vy0cbo/CFw==","shasum":"141fb6fe74065285a5cfe89c92647b525170d3f5","tarball":"https://registry.npmjs.org/@angius/bun-plugin-solid/-/bun-plugin-solid-1.4.2.tgz","fileCount":6,"unpackedSize":4609214,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@angius%2fbun-plugin-solid@1.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCMPXwRuAqn8tt0GCTEgJwDMAgUMIwN3ChdAvvGPmBKDwIhAOs7Ivqy1Cr+l6YONdp3Rr/N7eRT0CkXgyiykrEddD1V"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d0cacf0e-a0d0-4b77-a3c7-f3087a7bfa26"}},"directories":{},"maintainers":[{"name":"angius","email":"koumarin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bun-plugin-solid_1.4.2_1772665635126_0.5076229510460946"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-04T20:58:33.287Z","modified":"2026-03-04T23:07:15.585Z","1.4.0":"2026-03-04T20:58:33.627Z","1.4.1":"2026-03-04T22:11:04.786Z","1.4.2":"2026-03-04T23:07:15.303Z"},"bugs":{"url":"https://github.com/Atulin/bun-plugin-solid/issues"},"author":{"name":"Atulin"},"license":"MIT","homepage":"https://github.com/Atulin/bun-plugin-solid#readme","repository":{"type":"git","url":"git+https://github.com/Atulin/bun-plugin-solid.git"},"description":"A plugin to compile Solid.js with Bun.","maintainers":[{"name":"angius","email":"koumarin@gmail.com"}],"readme":"[![NPM Downloads](https://img.shields.io/npm/dy/%40angius%2Fbun-plugin-solid?style=flat-square&logo=npm&labelColor=CB3837)](https://www.npmjs.com/package/@angius/bun-plugin-solid)\n![GitHub License](https://img.shields.io/github/license/atulin/bun-plugin-solid?style=flat-square)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/atulin/bun-plugin-solid/publish-npm.yml?style=flat-square)\n![Static Badge](https://img.shields.io/badge/built%20with%20bun-f472b6?style=flat-square&logo=bun&labelColor=black)\n\n\n# 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```ts\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```ts\nawait Bun.build({\n  // ...\n  plugins: [SolidPlugin({ generate: \"ssr\", hydratable: true })],\n});\n```\n\nAdditionally, you can pass Babel `TransformOptions`\n\n```ts\nawait Bun.build({\n  // ...\n  plugins: [SolidPlugin({ babelOptions: { plugins: [[someBabelPlugin, {}]] } })],\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","readmeFilename":"README.md"}