Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add .mjs file in "impl" in config.yaml #298

Open
WAVIFICATION opened this issue Feb 20, 2025 · 2 comments
Open

How to add .mjs file in "impl" in config.yaml #298

WAVIFICATION opened this issue Feb 20, 2025 · 2 comments
Assignees

Comments

@WAVIFICATION
Copy link

Hi,

I wish to know how to add a .mjs file as the implementation for an event in config.yaml.
I need to explicitly define it with .mjs file as the project runs on "type": "commonjs".
As per my understanding, it does not support file extensions.

Kindly help

Thanks
Jerin

@soccermax soccermax self-assigned this Feb 20, 2025
@soccermax
Copy link
Contributor

Hi, just to clarify, you have a common js project but you want to have a EventQueue Processor as ESM (mjs) right? Can you share your repo or is the repo privat?

@soccermax
Copy link
Contributor

Can you please try out the current main branch and see if that works in your common js project with .mjs files.
You can either add the file path extension or not. It should work either way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants