15 lines
215 B
TypeScript
15 lines
215 B
TypeScript
import index from './index.html'
|
|
|
|
const server = Bun.serve({
|
|
port: 3000,
|
|
routes: {
|
|
'/': index,
|
|
},
|
|
development: {
|
|
hmr: true,
|
|
console: true,
|
|
},
|
|
})
|
|
|
|
console.log(`Editor running at ${server.url}`)
|