Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
blob: 5d09c3318ee22c6eac7ac87817e192a0f3eadc86 (plain)
1
2
3
4
5
6
7
8
9
10
11
require('esbuild-server')
  .createServer(
    {
      bundle: true,
      entryPoints: ['src/index.js'],
    },
    {
      static: 'public',
    }
  )
  .start();