mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 13:17:45 +02:00
separated web and api, build improvements
wip: - separate web and api servers. - script for building static pages. - building improvements. - async localisation preloading.
This commit is contained in:
7
src/modules/buildStatic.js
Normal file
7
src/modules/buildStatic.js
Normal file
@ -0,0 +1,7 @@
|
||||
import { buildFront } from "./build.js";
|
||||
import { getCurrentBranch, shortCommit } from "./sub/currentCommit.js";
|
||||
|
||||
const commitHash = shortCommit();
|
||||
const branch = getCurrentBranch();
|
||||
|
||||
await buildFront(commitHash, branch);
|
Reference in New Issue
Block a user