-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat: add basic support for esm #914
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implementation looks good overall, and since we process with babel, cjs & mjs should both work as expected.
What do you think of adding a more "integration-like" test which actually uses a real config file?
Co-authored-by: Haroen Viaene <fingebimus@me.com>
hello @Haroenv, thanks for review 🙌🏻
Babel doesn't handle dynamically imported/required files, so it isn't working with with shipjs config file now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good to go
CircleCI is down today I think |
@Haroenv CircleCI isn't run test for PR from forks |
I'll leave the merging to @eunjae-lee, he's back next week |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thank you @jeetiss
@jeetiss released in 0.21.0 🎉 |
@eunjae-lee thanks 🙌🏻 |
hey @eunjae-lee!
how are you? 🙌🏻
I mirgate same of my project to esm modules with
"type": "module"
, so now i can't use shipjs, because it load onlyshipjs.config.js
I added
cjs
,mjs
,js
possible extensions to config and use first existed, so it should solve the problemalso improve config for tests ❤️