How should unrecognized attributes or types be handled? · Issue #21 · tc39/proposal-import-attributes (original) (raw)
One option is to ignore them. However, that risks forward compatibility issues if they are later given semantics. I would suggest aborting the whole module graph when these are found, just like when an invalid module specifier or syntax error is there.