@primate/core 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,6 +18,9 @@ export default function plugin_server_store(app) {
|
|
|
18
18
|
paths: [args.resolveDir],
|
|
19
19
|
});
|
|
20
20
|
const module_dir = new FileRef(module_path).directory;
|
|
21
|
+
// built-ins have no .node and would otherwise cause global search
|
|
22
|
+
if (module_dir.path === ".")
|
|
23
|
+
return null;
|
|
21
24
|
// check if this module has .node files
|
|
22
25
|
const node_files = await module_dir
|
|
23
26
|
.collect(f => f.path.endsWith(".node"));
|