Skip to content

Commit 4cab6e8

Browse files
author
Thomas Heymann
committed
BREAKING: do not preserve symlinks as per Node's default behaviour
1 parent 5db28c3 commit 4cab6e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/resolve-id.js

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = function(id, base, options) {
2424
else if (!pkg.main || !/\.css$/.test(pkg.main)) pkg.main = "index.css"
2525
return pkg
2626
},
27+
preserveSymlinks: false,
2728
}
2829

2930
return resolveModule(`./${id}`, resolveOpts)

0 commit comments

Comments
 (0)