express serving static file generated by webpack code example Example: serving static files with express app.use(express.static('public'));