I have an ES6 module that exports two constants:
export const foo = \"foo\"; export const bar = \"bar\";
I can do the following in another
I would say it is not possible, but an alternative would be:
const m = require('module'); const f = m.foo; const b = m.bar;