mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
module: package "imports" field
PR-URL: https://github.com/nodejs/node/pull/34117 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
This commit is contained in:
1 parent
601ed8ef7e
commit
1ae76bd075
16 files changed
+537
-177
No files matched your search
@@ -957,6 +957,7 @@ static void InternalModuleReadJSON(const FunctionCallbackInfo<Value>& args) {
|
||||
if (0 == memcmp(s, "type", 4)) break;
|
||||
} else if (n == 7) {
|
||||
if (0 == memcmp(s, "exports", 7)) break;
|
||||
if (0 == memcmp(s, "imports", 7)) break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user