Skip to content

Commit 6b9c8c1

Browse files
Deraenswannodette
authored andcommitted
CLJS-2658: Fix using linked node_modules
enhancedResolve has option which can be set to false to return the original path instead of the path to which symlink points to.
1 parent 0fcc8fd commit 6b9c8c1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/cljs/cljs/module_deps.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ let resolver = enhancedResolve.create({
6565
extensions: ['.js', '.json'],
6666
mainFields: mainFields,
6767
aliasFields: target === 'nodejs' ? [] : ['browser'],
68-
moduleExtensions: ['.js', '.json']
68+
moduleExtensions: ['.js', '.json'],
69+
symlinks: false
6970
});
7071

7172
let md = mdeps({

0 commit comments

Comments
 (0)