a581c082f6
brings the 2+ second bundle on a module like the graphs down to 90ms
6 lines
195 B
TypeScript
6 lines
195 B
TypeScript
// extend the global namespace with our exports - not sure if there's a better way with esbuild
|
|
import * as globals from "./index";
|
|
for (const key in globals) {
|
|
window[key] = globals[key];
|
|
}
|