Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-12 10:57:15 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-15 09:48:00 -0700
commit263201d869956b94660d4efa8297e89dadbe36a8 (patch)
tree8fa47922163548dda0739aaa5ff0612de96c9fd1 /dev-server.js
Initial commit
Diffstat (limited to 'dev-server.js')
-rw-r--r--dev-server.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-server.js b/dev-server.js
new file mode 100644
index 0000000..4330d0d
--- /dev/null
+++ b/dev-server.js
@@ -0,0 +1,11 @@
+require('esbuild-server')
+ .createServer(
+ {
+ bundle: true,
+ entryPoints: ['src/app.js'],
+ },
+ {
+ static: 'public',
+ }
+ )
+ .start();