I'm picking up momentum again on my Hanami work.

With this PR I've now tackled the first half of a re-envisioned approach to assets compilation across slices (https://github.com/hanami/assets-js/pull/20), and now I'm ready to move onto the Ruby half (where I'll surely move much faster!).

#ruby #hanami

Compile within single slice only by timriley · Pull Request #20 · hanami/assets-js

Update our esbuild wrapper to compile a single assets directory at a time. Previously, we crawled the entire app structure to find all assets directories (with the app and/or slices) and processed ...

GitHub

A little behind the scenes: back in November while I was in San Diego for RubyConf, we were mere *hours* away from releasing 2.1.0… until we hit an issue with asset names conflicting across slices.

Between the US, Italy and NZ, we had three of us furiously spiking on and testing various fixes, but it became clear none was truly satisfactory.

Deciding to defer the release was disappointing, but I know it's going to make for a much better foundation for assets handling going into the future.