mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 01:13:39 +00:00
refactor(javascript): centralize package and JSON document facts
This commit is contained in:
1 parent
4cfc61147b
commit
37e92e430b
29 files changed
+748
-113
No files matched your search
@@ -155,6 +155,7 @@ const addWindowPreload = (
|
||||
sourcePath: input.file.path,
|
||||
context: resolutionContext,
|
||||
files: input.context.filesByPath,
|
||||
jsonDocuments: input.context.analysis.jsonDocuments,
|
||||
directoryPaths: input.context.directoryPaths,
|
||||
unanalyzedFiles: input.context.unanalyzedFiles,
|
||||
runtimePathKind: "exact-file",
|
||||
@@ -257,6 +258,7 @@ const addUtilityProcess = (
|
||||
sourcePath: file.path,
|
||||
context: value.module_resolution_context,
|
||||
files: context.filesByPath,
|
||||
jsonDocuments: context.analysis.jsonDocuments,
|
||||
directoryPaths: context.directoryPaths,
|
||||
unanalyzedFiles: context.unanalyzedFiles,
|
||||
runtimePathKind: "node-entrypoint",
|
||||
|
||||
Reference in new issue
Block a user