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
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' |