Related to #11.
This PR fixes the CJS build process, fixing issues with environments (ahem, jest) that struggle with ESM imports.
For more info on @tanstack/config, see docs.
@tanstack/config