Great article - I saw the legacy import, but saw you showed how to fix it, which was cool
I didn’t write a tutorial, but also was looking at ways not using webpack as well and made a community template for snowpack for babylonjs. Most of my projects use rollup and github actions lately.
Deploy to GH pages also very useful. One thing that I didn’t see was typically you need a secret to deploy with a token, but I didn’t see how you connected those. Maybe your deploy action gets it from context somehow? I’ll check that repo out.
Also, I looked for the static deploy docs and see that
base is often configured instead of passed in. I like how CRA can set it from package.json, but vite seems less opinionated that way.