esbuild-wasm-bundler/bundler-inc.tsx

9 lines
144 B
TypeScript
Raw Normal View History

2024-06-10 16:23:31 -04:00
import Bundler from "./mod.ts";
2024-06-07 16:54:12 -04:00
2024-06-10 16:23:31 -04:00
const results = await Bundler();
2024-06-07 16:54:12 -04:00
for await(const file of results.outputFiles)
{
2024-06-10 16:23:31 -04:00
console.log(file.text);
2024-06-07 16:54:12 -04:00
}