13 lines
313 B
TypeScript
13 lines
313 B
TypeScript
import Bundle from "./mod.ts";
|
|
import Config from "./test/deno.json" with {type:"json"};
|
|
|
|
const path = import.meta.resolve("./test/");
|
|
const {outputFiles} = await Bundle(path, {entryPoints:["./app.tsx"]}, Config);
|
|
if(outputFiles)
|
|
{
|
|
for(const item of outputFiles)
|
|
{
|
|
console.log(item.text);
|
|
}
|
|
}
|