Podaj plik w Express

const express = require('express')
const app = express()

app.use(express.static(__dirname + '/dist'))

app.get('/', (_, res) => {
    res.sendFile('index.html')
})

app.listen(3000)
Fierce Flamingo