Describe the bug
When importing library as ESM, Typescript fails to find types.
To Reproduce
Steps to reproduce the behavior:
- Import a random component using
/esm imports. Example: import { Message } from 'react-bulma-components/esm';
- Typescript fails to find types for the imported component.
Could not find a declaration file for module 'react-bulma-components/esm'.
Expected behavior
Types should be working correctly even when importing from /esm folder
Versions
react-bulma-components:: latest
bulma: latest
react: 18
Describe the bug
When importing library as ESM, Typescript fails to find types.
To Reproduce
Steps to reproduce the behavior:
/esmimports. Example:import { Message } from 'react-bulma-components/esm';Expected behavior
Types should be working correctly even when importing from
/esmfolderVersions
react-bulma-components:: latestbulma: latestreact: 18