URL


ES 模块被解析并缓存为 URL。 这意味着包含 #? 等特殊字符的文件需要转义。

支持 file:node:data: URL 协议。 除非使用自定义的 HTTPS 加载器,否则 Node.js 本身不支持像 'https://example.com/app.js' 这样的说明符

ES modules are resolved and cached as URLs. This means that files containing special characters such as # and ? need to be escaped.

file:, node:, and data: URL schemes are supported. A specifier like 'https://example.com/app.js' is not supported natively in Node.js unless using a custom HTTPS loader.