medusa
medusa copied to clipboard
Module for Plugin needs locally .js ending in imports or it's not in correct compiled version and module is not correct imported
What Medusa version and documentation are you using?
v2
Preliminary Checks
- [x] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/medusajs/medusa/issues
Issue Summary
When you follow the plugin setup guide and then create a module like in the module documentation with typescript it's not correct recognized in the medusa instance where the plugin is installed, because with yalc it's not correct translated to a .js import.
How can this issue be resolved?
- Add hint to add .js in import
- Fix the behavior? (Idk enough about this :D)
Are you interested in working on this issue?
- [ ] I would like to fix this issue