Skip to content

fix: revert default symlinks setting #2409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2018
Merged

Conversation

haoqunjiang
Copy link
Member

Currently in Vue CLI we set the default symlinks config to false.
This setting is counterintuitive, and inconsitent with webpack's default
configuration, per https://webpack.js.org/configuration/resolve/#resolve-symlinks

The change of default symlinks value is introduced by 5b4df14
It is most likely a duplicate of 145492b

Since several third-party npm clients uses symlinks to speed up installation
(e.g. cnpm, pnpm...), that change breaks webpack HMR for their users.
See #1559, #2195, #2284

This commit also fixes #1609

@haoqunjiang haoqunjiang changed the title fix: set default symlinks to true fix: revert default symlinks setting Aug 31, 2018
@haoqunjiang haoqunjiang force-pushed the symlinks branch 2 times, most recently from 20730ba to 937204a Compare September 3, 2018 13:54
Currently in Vue CLI we set the default `symlinks` config to `false`.
This setting is counterintuitive, and inconsitent with webpack's default
configuration, per https://webpack.js.org/configuration/resolve/#resolve-symlinks

The change of default `symlinks` value is introduced by vuejs@5b4df14
It is most likely a duplicate of vuejs@145492b

Since several third-party npm clients uses symlinks to speed up installation
(e.g. cnpm, pnpm...), that change breaks webpack HMR for their users.
See vuejs#1559, vuejs#2195, vuejs#2284

This commit also fixes vuejs#1609
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HMR does not work when node_modules is a symlink
1 participant