I'm considering this path, yes – just find it strange that the docs have this example that clearly can't work due to how the package manager functions.
Adding bundling with another tool like rollup also brings another layer of complexity, now I'm starting to feel like I should just use bun.