diff options
author | Alan Pearce | 2023-09-12 10:56:10 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-12 10:56:10 +0200 |
commit | b45b4e37af14d94726b0c5d2691289886c0527cf (patch) | |
tree | 80f1a5ee7b64c08bf7b755a4cd062c1d86435d94 /src | |
parent | 7fc8048d3104cf9e129920326b30aaefaaaeb89b (diff) | |
download | homestead-b45b4e37af14d94726b0c5d2691289886c0527cf.tar.lz homestead-b45b4e37af14d94726b0c5d2691289886c0527cf.tar.zst homestead-b45b4e37af14d94726b0c5d2691289886c0527cf.zip |
Reformat with prettier
Diffstat (limited to 'src')
-rw-r--r-- | src/index.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/index.ts b/src/index.ts index 59913b3..4887dd6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,10 +1,10 @@ -import { withHtmlLiveReload } from "bun-html-live-reload" -import serveStatic from "serve-static-bun" +import { withHtmlLiveReload } from "bun-html-live-reload"; +import serveStatic from "serve-static-bun"; -const dir = Bun.argv.length > 2 ? Bun.argv[Bun.argv.length - 1] : "./" +const dir = Bun.argv.length > 2 ? Bun.argv[Bun.argv.length - 1] : "./"; export default withHtmlLiveReload({ fetch: serveStatic(dir, { - dotfiles: "allow" + dotfiles: "allow", }), -}) +}); |