Skip to content

Commit 1a80b11

Browse files
committed
Add MinSizeRel and RelWithDebInfo to list of path prefix candidates in babel plugin
1 parent e9c145b commit 1a80b11

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/host/src/node/path-utils.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,17 @@ export function getLatestMtime(fromPath: string): number {
521521
// https://github.com/TooTallNate/node-bindings/blob/v1.3.0/bindings.js#L21
522522
const nodeBindingsSubdirs = [
523523
"./",
524+
"./build/MinSizeRel",
525+
"./build/RelWithDebInfo",
524526
"./build/Release",
525527
"./build/Debug",
526528
"./build",
529+
"./out/MinSizeRel",
530+
"./out/RelWithDebInfo",
527531
"./out/Release",
528532
"./out/Debug",
533+
"./MinSizeRel",
534+
"./RelWithDebInfo",
529535
"./Release",
530536
"./Debug",
531537
];

0 commit comments

Comments
 (0)