> > > First - I reject the idea that making the export "anonymous" is in any way > good practice. Frankly, naming things is essential to API design. >
Here's a concrete example of why you should always name your exports: // A.js export class A {} // B.js export class B {} // main.js export * from "A.js"; export * from "B.js"; If you rely on "anonymous" exports, you're going to be SOL when trying to aggregate like this.
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss