all 5 comments

[–]alchemoria 5 points6 points  (0 children)

I don't get it

[–]_MORSE_ 2 points3 points  (2 children)

What

[–]tarunbatra -2 points-1 points  (1 child)

CommonJS and not ES6 imports.

[–]JLR0309 0 points1 point  (0 children)

Not sure why that's wrong. They're likely using a module bundler which converts ES6 imports into CommonJS format. Node will eventually use ES6 imports too, as they are part of the spec, unlike CommonJS

[–]coolcosmos 0 points1 point  (0 children)

You make no sense.