Open gthb opened 2 years ago
tape supports ES Modules via --require
, and matches node's ESM support. However, babel-tape-runner and alternatives are still necessary, because every project, forever, should be transpiling to be able to use newer features and not have to pay attention to what features your node version supports.
I agree the caption could be reworded to explain this better.
Now that
tape
itself supports ES6, there is no need for “ES6 support with https://www.npmjs.com/package/babel-tape-runner or https://www.npmjs.com/package/buble-tape-runner” anymore, so this item becomes misleading (suggests to the newcomer thattape
still doesn't support ES6).Unless I'm wrong and there is still some reason to use them? If so, maybe specify that reason.