there is a far easier way to work with ES module for AVA $ npm install esm --save-dev Then in your package.json add { "ava": { "require": [ "esm" ] ...
確定! 回上一頁