16 lines
333 B
TypeScript
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);
|
||
|
}
|