Web Dev Solutions

Catalin Mititiuc

From 23967fe2f5ae9fb6d6c8a2cbc29845531f7acece Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Wed, 17 Apr 2024 22:26:53 -0700 Subject: Integration test running with test server --- dev-server.cjs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dev-server.cjs (limited to 'dev-server.cjs') diff --git a/dev-server.cjs b/dev-server.cjs new file mode 100644 index 0000000..fc4da91 --- /dev/null +++ b/dev-server.cjs @@ -0,0 +1,13 @@ +console.log('Starting server.'); + +require('esbuild-server') + .createServer( + { + bundle: true, + entryPoints: ['src/index.js'], + }, + { + static: 'public' + } + ) + .start(); -- cgit v1.2.3