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 ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That package does not support ESM, there's an open issue at avajs/babel#13. |
Beta Was this translation helpful? Give feedback.
power-assert
requires Babel, yes. Enabling thebabel
option 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.