TeleJSON breaks with Vite 2.3.x (Used in storybook-builder-vite) because TeleJSON is only published to npm as a CJS module. Would it be possible to double-publish this library - like Storybook - so that its source code is TypeScript, but transpiled and published to npm both as CJS and ESM?
Related to https://github.com/storybookjs/storybook/issues/14910
TeleJSON breaks with Vite 2.3.x (Used in storybook-builder-vite) because TeleJSON is only published to npm as a CJS module. Would it be possible to double-publish this library - like Storybook - so that its source code is TypeScript, but transpiled and published to npm both as CJS and ESM?