diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-04-08 16:56:28 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-04-08 16:57:48 -0400 |
| commit | fef0b84cdb5a1e4c32209000cf3739c05639ad2c (patch) | |
| tree | 01666c515049a7e1c017481b4fa8c2a34df2eac1 /src/frontend/build.ts | |
| parent | efbf5faf5b9faaee973fc451e9824e9b0d23b683 (diff) | |
| download | xesite-fef0b84cdb5a1e4c32209000cf3739c05639ad2c.tar.xz xesite-fef0b84cdb5a1e4c32209000cf3739c05639ad2c.zip | |
make build.ts file more parameterized
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'src/frontend/build.ts')
| -rw-r--r-- | src/frontend/build.ts | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/frontend/build.ts b/src/frontend/build.ts index 07fc548..ed36e2e 100644 --- a/src/frontend/build.ts +++ b/src/frontend/build.ts @@ -5,13 +5,7 @@ const result = await esbuild.build({ plugins: [denoPlugin({ importMapURL: new URL("./import_map.json", import.meta.url), })], - entryPoints: [ - "./components/ConvSnippet.tsx", - "./components/MastodonShareButton.tsx", - "./components/NoFunAllowed.tsx", - "./components/Video.tsx", - "./components/WASITerm.tsx", - ], + entryPoints: Deno.args, outdir: Deno.env.get("WRITE_TO") ? Deno.env.get("WRITE_TO") : "../../static/xeact", @@ -19,8 +13,6 @@ const result = await esbuild.build({ splitting: true, format: "esm", minifyWhitespace: !!Deno.env.get("MINIFY"), - inject: ["xeact"], - jsxFactory: "h", }); console.log(result.outputFiles); |
