Make client more ESM-friendly (#2348)
* Use node: prefix for stdlib imports * Make code more ESM-friendly * Add missing mjs file * Drop mjs file from package.json
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
import Debug from 'debug'
|
||||
import * as http from 'http'
|
||||
import * as http from 'node:http'
|
||||
import buildServer, { ServerHandler } from './buildServer'
|
||||
import { StoppableServer } from 'stoppable'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user