Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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..5d09c33
--- /dev/null
+++ b/dev-server.js
@@ -0,0 +1,11 @@
+require('esbuild-server')
+ .createServer(
+ {
+ bundle: true,
+ entryPoints: ['src/index.js'],
+ },
+ {
+ static: 'public',
+ }
+ )
+ .start();