From e2735d40f83772835edc9accbc25f26dcd5a86b0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 6 Nov 2022 14:26:04 +0300 Subject: Upgrade build environment to use esbuild and swc --- vnext/serve.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 vnext/serve.js (limited to 'vnext/serve.js') diff --git a/vnext/serve.js b/vnext/serve.js deleted file mode 100644 index 7638c070..00000000 --- a/vnext/serve.js +++ /dev/null @@ -1,20 +0,0 @@ -const esbuild = require('esbuild'); - -esbuild - .serve( - { - servedir: 'public', - port: 8000, - }, - { - entryPoints: ['./src/index.js'], - outfile: './public/index.js', - bundle: true, - loader: { - '.js': 'jsx', - '.png': 'file', - '.svg': 'file' - } - } - ) - .catch(() => process.exit()); -- cgit v1.2.3