if there's one good thing to have come out of node.js' arguably messy esm rollout, it'd be resolve conditions
i can write node.js-optimized functions without it spilling over to the browser
i prefer using ast factory functions for doing codegen instead of rawdogging template literals, but pulling in a codegen library like astring hurts me for some reason
...maybe i should write my own ecmascript codegen?