too lazy to think of a message, so enjoy this pointless text. Good luck future me...
All checks were successful
Test action / Print hello world (push) Successful in 8m24s
All checks were successful
Test action / Print hello world (push) Successful in 8m24s
This commit is contained in:
parent
38b27c62a2
commit
9d6008180c
5 changed files with 11 additions and 3 deletions
BIN
app
Executable file
BIN
app
Executable file
Binary file not shown.
|
|
@ -20,6 +20,7 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
preset: "bun",
|
preset: "bun",
|
||||||
|
noExternals: true,
|
||||||
prerender: {
|
prerender: {
|
||||||
routes: ["/", "/sitemaps.xml"],
|
routes: ["/", "/sitemaps.xml"],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
4
justfile
4
justfile
|
|
@ -4,3 +4,7 @@ push:
|
||||||
git add .
|
git add .
|
||||||
git commit -m 'too lazy to think of a message, so enjoy this pointless text. Good luck future me...'
|
git commit -m 'too lazy to think of a message, so enjoy this pointless text. Good luck future me...'
|
||||||
git push
|
git push
|
||||||
|
|
||||||
|
build:
|
||||||
|
bun run build --bun
|
||||||
|
bun build --compile --minify --outfile app ./.output/server/index.mjs
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
export SESSION_SECRET='jJBqeVMvQe52HqLYWDunLEKbkkC9JqCrgP92nV5j2dC99eZWCtK9H2NrASH8AbxF'
|
export SESSION_SECRET='jJBqeVMvQe52HqLYWDunLEKbkkC9JqCrgP92nV5j2dC99eZWCtK9H2NrASH8AbxF'
|
||||||
|
|
||||||
bun run build --bun
|
bun run build --bun
|
||||||
|
bun build --compile --minify --outfile ${pname} ./.output/server/index.mjs
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
@ -29,8 +30,8 @@
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -r ./.output/* $out
|
cp ${pname} $out/bin
|
||||||
bun build ./.output/server/index.mjs --compile --outfile $out/bin/${pname}
|
# cp -r ./.output/* $out
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,5 @@
|
||||||
import { mount, StartClient } from "@solidjs/start/client";
|
import { mount, StartClient } from "@solidjs/start/client";
|
||||||
|
|
||||||
mount(() => <StartClient />, document.getElementById("app")!);
|
mount(() => <StartClient />, document.getElementById("app")!);
|
||||||
|
|
||||||
|
export default {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue