In nodejs you can require a json file directly to get its value: `var value = 
require(“./package.json”)`.

Is there an equivalent construct in es2015? Or developers have to turn it into 
a module before it can be imported?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to