esbuild-wasm-bundler/bundler-inc.tsx

14 lines
271 B
TypeScript

import B from "./mod.ts";
const results = await B({
imports: {
"react": "https://esm.sh/preact@10.22.0/compat",
"react/": "https://esm.sh/preact@10.22.0/compat/"
}
});
for await(const file of results.outputFiles)
{
console.log(file.path);
}