docs(module-loader): edit text

This commit is contained in:
ruanyf
2024-04-10 18:04:27 +08:00
parent 128c0faf43
commit bae421dcdf
+1 -1
View File
@@ -397,7 +397,7 @@ import submodule from './node_modules/es-module-package/private-module.js';
}
```
由于`exports`字段只有支持 ES6 的 Node.js 才认识,所以可以`main`字段来兼容旧版本的 Node.js。
由于`exports`字段只有支持 ES6 的 Node.js 才认识,所以可以搭配`main`字段来兼容旧版本的 Node.js。
```javascript
{