feat: initial work at bundling ESM and CommonJS