Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'server.cjs')
-rw-r--r--server.cjs6
1 files changed, 5 insertions, 1 deletions
diff --git a/server.cjs b/server.cjs
index 27d578a..1910f2b 100644
--- a/server.cjs
+++ b/server.cjs
@@ -47,9 +47,13 @@ const server = createServer(
'env': `"${process.env.NODE_ENV || 'dev'}"`,
},
entryPoints: ['src/index.js', 'src/map.js', 'src/soldier_record_block.js'],
+ // outdir: 'build',
...(process.env.NODE_ENV !== 'test') && {
outdir: 'build'
- }
+ },
+ // loader: {
+ // '.svg': 'file'
+ // },
},
{
// http: { IncomingMessage: Request },