Skip to content

Commit

Permalink
BREAKING: do not preserve symlinks as per Node's default behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Heymann authored and RyanZim committed Sep 16, 2017
1 parent 86ccbdb commit 80cadec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/resolve-id.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = function(id, base, options) {
else if (!pkg.main || !/\.css$/.test(pkg.main)) pkg.main = "index.css"
return pkg
},
preserveSymlinks: false,
}

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

0 comments on commit 80cadec

Please sign in to comment.