Back to Browse

Phoenix, ESBuild, and Bun

2.8K views
Nov 4, 2024
14:31

Phoenix's default asset management system uses a hex package wrapping ESBuild. What if we replaced it with Bun? 00:00:00 Introduction 00:00:19 Setup 00:01:27 Asset handling 00:03:22 Bundling stuff 00:04:43 Replacing the hex package 00:05:28 The esbuild script 00:06:24 Installing Bun 00:08:02 Configuring the watchers in dev.exs 00:09:31 Fixing the watcher 00:10:30 Using TypeScript 00:11:19 Replacing Topbar 00:12:07 Running TS at built time with Bun 00:12:44 Module resolution 00:13:23 Installing Bun in your Dockerfile 00:14:19 Outro

Download

0 formats

No download links available.

Phoenix, ESBuild, and Bun | NatokHD