esbuild-wasm-bundler/bundler-inc.tsx
2024-06-07 16:54:12 -04:00

16 lines
333 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/",
"other": "./other.tsx",
"entry": "./app.tsx"
}
});
for await(const file of results.outputFiles)
{
console.log(file.path);
}