Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-05-24 15:59:17 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-05-24 15:59:17 -0700
commita80728f16f90616d93dcc9ed932528b35e2ef62d (patch)
tree3155abf47790f01c8fe87e374f30926cdd763b16 /server.cjs
parentd729079cdf63a4382e3e3225295784124e0a4d5d (diff)
WIP: mock selenium response
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 },