belaustegui
Hi!
Bun is a new all-in-one toolkit for Javascript: bundler, test runner, package manager, dev. environment, etc. It can do what Esbuild does, and more.
I’ve just published a package heavily inspired in the Esbuild integration package made by Wojtek Mach and José Valim that is adapted to install and invoke Bun.
I am using it in a personal project of mine and the switch from Esbuild requires very minimal changes. Then, it allows you to install and the many node packages available without requiring NodeJS or NPM. It also supports TypeScript, JSX, CSS, WASM, and many more (even Rust!).
Anyway. If you want to check it out you can take a look at the GitHub Repo and the Hex.pm package.
Thanks again to @josevalim and @wojtekmach for creating the Esbuild packge
which I used as a base.
Trending in Announcing
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex











First Post!- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
D4no0
It seems that you have some typos in readme:
While the name of the package is elixir_bun on hex.
Most Liked
belaustegui
Hi all again!
When I created this package I wanted to publish it as
bunto follow the conventions set by the esbuild and tailwind packages. Unfortunately that package name was taken so I had to publish my project as elixir_bun instead.After getting in touch with the hex.pm team they confirmed that having an empty package that is just squatting on a name goes against the hex.pm policies so it has been removed and made available again.
Long story short: the elixir_bun package is now retired on hex.pm and replaced by the bun package. If you are updating from
elixir_bunyou just have to replace:elixir_bunwith:bunin your project.Since this is a breaking change I’ve used the opportunity to release version 1.0 as bun can now be considered stable.
Greetings!
belaustegui
Hi all!
I’ve just released bun 1.1.0 which fixes an issue when running under elixir-slim Docker images. Thanks @Wigny for noticing and fixing the issue
Additionally new installations will no use the latest bun version (1.0.26 at the moment of writing this). Remember that you can use the library configuration to pick the bun version that you want to use.
As usual you can check out the GitHub Repo and the Hex.pm package for the release notes and more information.
Happy coding!
belaustegui
Hi all!
I’ve just released bun 1.3.1 which contains more improvements for process wrapping. Now we just wrap
bun build. This allows you to usebun runto call other commands (for examplebun run tailwindto build your CSS without using the Elixir Tailwind package).Thanks @Sgoettschkes for reporting this and following up with a detailed investigation.
Check out the GitHub Repo and the Hex.pm package for the release notes and code.
Happy coding!
Last Post!
greven
Thanks for your work. I’ve been using it for my personal website and it has been stellar, only thing missing was really figuring out how colocated JS would work, so thanks for that! =)