iex-api icon indicating copy to clipboard operation
iex-api copied to clipboard

ES6 modules not supported in Node.js yet

Open ajbraus opened this issue 6 years ago • 2 comments

node.js implementation should use ES5 modules still no?

ajbraus avatar Sep 13 '18 06:09 ajbraus

It compiles to CommonJS module format. I just pulled down the package to test and it works fine in Node without any sort of transpilation.

CalMlynarczyk avatar Nov 05 '18 21:11 CalMlynarczyk

I changed from "esnext" to "commonjs" in /tsconfig.json of my current project to fix the issue ... do I understand the probleme correctly ?

Luxcium avatar Feb 12 '19 14:02 Luxcium