I was actually looking into building a library today with Webpack and ran into similar problems. But could you help me understand what you meant here?
> but it won't output to a standard format, even with experimental ESM output feature enabled,
Are you saying ESM is not a standard format? Or that the ESM output doesn't actually follow standard ESM? Or maybe you meant something else entirely?