esbuild-wasm-bundler/bundler-inc.tsx

14 lines
271 B
TypeScript
Raw Normal View History

2024-06-07 16:54:12 -04:00
import B from "./mod.ts";
const results = await B({
imports: {
"react": "https://esm.sh/preact@10.22.0/compat",
2024-06-08 08:09:56 -04:00
"react/": "https://esm.sh/preact@10.22.0/compat/"
2024-06-07 16:54:12 -04:00
}
});
for await(const file of results.outputFiles)
{
console.log(file.path);
}