I'm writing an ESmodule and have the following code:
const object = { key1: 'test', key2: 'test2', } export { ...object }
It seems you can't export a destructured object?
Is there a workaround that would look clean?