I’m submitting a feature request
I think it would be useful (even if not have this the default behaviour) to be able to preserve symlinks when doing module resolution.
This should function the same as in Node >= 6.3.0 with --preserve-symlinks
enabled. To quote docs on that:
The –preserve-symlinks command line flag instructs Node.js to use the symlink path for modules as opposed to the real path.
More info in Node.js docs.
@sokra Could we get a backport to
enhanced-resolve@~0.9
?create-react-app
depends onwebpack@1.13.2
which depends onenhanced-resolve@~0.9
and when installing withpnpm
to a global symlinked store (the fastest way to install deps currently and what yarn may support eventually), it does not work.Submitted the issue to webpack/enhanced-resolve#45