I can’t find a link but I have a vague memory of someone saying that this would go against a key invariant of JS - that accessed or writing to a variable in strict mode will never run arbitrary code. Apologies if I have made this memory up.
import { x } from 'path';
x++; // this could run arbitrary code
Property access on the other hand has had the possibility of getter/setter behavior since at least ES5.
// config.js
export const config = {
set theme(t) { ... }
};
import { config } from 'config.js';
config.theme = "dark";