This commit is contained in:
obvTiger 2025-01-21 14:00:09 +01:00
commit 47f67eea8c
43 changed files with 5819 additions and 0 deletions

15
lib/dev-server.js Normal file
View file

@ -0,0 +1,15 @@
const BlueprintServer = require("./server");
const args = process.argv.slice(2);
const options = {
port: args.includes("--port")
? parseInt(args[args.indexOf("--port") + 1])
: 3000,
liveReload: args.includes("--live"),
minified: !args.includes("--readable"),
srcDir: "./src",
outDir: "./dist",
};
const server = new BlueprintServer(options);
server.start();