diff options
-rw-r--r-- | src/bun.js/http.exports.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/http.exports.js b/src/bun.js/http.exports.js index c8edc9cf5..b039a14c7 100644 --- a/src/bun.js/http.exports.js +++ b/src/bun.js/http.exports.js @@ -1,5 +1,5 @@ -import { EventEmitter } from "node:events"; -import { Readable, Writable } from "node:stream"; +const { EventEmitter } = import.meta.require("node:events"); +const { Readable, Writable } = import.meta.require("node:stream"); export function createServer(options, callback) { return new Server(options, callback); |