index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
path: root/server.cjs
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-04 10:25:22 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-04 10:25:22 -0700 |
commit | f021368a6697c6b064aa8da208cdf60265f4bfe0 (patch) | |
tree | 57a4f8aa011d893004accc1a5043c5e154780d8f /server.cjs | |
parent | 3049acbe1599e6665fd6ee48496048493349bf97 (diff) |
WIP: add fullscreen and download save abilities
Diffstat (limited to 'server.cjs')
-rw-r--r-- | server.cjs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,9 @@ const { createServer } = require('esbuild-server'); const server = createServer( { bundle: true, + define: { + 'env': `"${process.env.NODE_ENV || 'dev'}"`, + }, entryPoints: ['src/index.js', 'src/map.js', 'src/soldier_record_block.js'], ...(process.env.NODE_ENV !== 'test') && { outdir: 'build' |