sifter.js icon indicating copy to clipboard operation
sifter.js copied to clipboard

Empty export in ESM

Open stlrnz opened this issue 1 year ago • 0 comments

You defined a type export in the last line of sifter.ts.

https://github.com/orchidjs/sifter.js/blob/18a1a48ac74d74b4428925c94f9562e0d603e38b/lib/sifter.ts#L356

This line is converted to EMS like this.

export * from "./types.js";

However, types.js is a nearly empty file, which makes the export pointless.

export {};
//# sourceMappingURL=types.js.map

Would you mind to optimize the export?

stlrnz avatar Feb 04 '25 07:02 stlrnz