Node.js: renamed "require_shim" to "loader".
This commit is contained in:
6
test/node/loader/es_modules_http_indirect/module.mjs
Normal file
6
test/node/loader/es_modules_http_indirect/module.mjs
Normal file
@@ -0,0 +1,6 @@
|
||||
import http from "http"
|
||||
|
||||
http.createServer(function (req, res) {
|
||||
res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'})
|
||||
.end('Hello World\n');
|
||||
}).listen(7080);
|
||||
Reference in New Issue
Block a user