Trailing commas break imports
chowey opened this issue · comments
Cameron Howey commented
Something like this seems to be valid JS:
import {
A,
B,
} from "./my-lib.js";
Note the trailing comma after B
.
Shimport breaks on such an import. It's a shame, because my auto-formatter adds those commas.