Skip to content

Commit b6e6417

Browse files
committed
improve detection 10x
1 parent b990f49 commit b6e6417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-v3/src/build/externals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ function createExternalsCollector(
360360
};
361361

362362
// If the path ends with .wasm or .node, we should mark it as external
363-
if (args.path.endsWith(".wasm") || args.path.endsWith(".node")) {
363+
if (resolvedPath.endsWith(".wasm") || resolvedPath.endsWith(".node")) {
364364
return markExternal("path ends with .wasm or .node");
365365
}
366366

0 commit comments

Comments
 (0)