Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-28 16:18:34 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-28 16:18:34 -0700
commit1d5d5a2cda8ea462f1ed60757b8d2622522486b8 (patch)
tree94855b47648c128b3b35c8c1ee455cfa69c2a15b /dev-server.cjs
parent0c1f7e2fde7ed6e05271c8aeb8d4babbf4f2188d (diff)
Add a map.js
Diffstat (limited to 'dev-server.cjs')
-rw-r--r--dev-server.cjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-server.cjs b/dev-server.cjs
index 4406514..2e7c2ec 100644
--- a/dev-server.cjs
+++ b/dev-server.cjs
@@ -2,7 +2,8 @@ const { createServer } = require('esbuild-server');
const server = createServer(
{
bundle: true,
- entryPoints: ['src/index.js']
+ entryPoints: ['src/index.js', 'src/map.js'],
+ outdir: 'build'
},
{
static: 'public',