The article discusses the problem with Safari users in Rails applications and the limitations of import maps. It introduces esbuild as a tool to perform necessary changes for Safari users and provides a custom rake task for using esbuild. The esbuild.rake script runs esbuild to minify and target older browsers. The installation process for esbuild is also explained. By using the esbuild script, Rails applications can provide interactivity to all users.

4m read timeFrom fly.io
Post cover image

Sort: