Repository navigation
power-assert and "type": "module" #2834
|
Hello, I'm not sure whether this should be a bug or a feature request. We are in the process of moving our projects to ESM and we are doing this by adding AFAIU this is due to the fact that Is there any way to work around this ? |
Answered by
novemberborn
Sep 18, 2021
Replies: 1 comment 3 replies
|
That package does not support ESM, there's an open issue at avajs/babel#13. |
3 replies
Answer selected by
gautaz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
power-assertrequires Babel, yes. Enabling thebabeloption in AVA's configuration requires https://github.com/avajs/babel to be installed.That package does not support ESM, there's an open issue at avajs/babel#13.