Skip to content
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

preserveSymlinks 配置为true 无法解决 npm link组件库的问题 #4844

Open
LoveqLRC opened this issue Apr 16, 2024 · 0 comments
Open

Comments

@LoveqLRC
Copy link

LoveqLRC commented Apr 16, 2024

原始问题见: #3049 (comment)_

  1. 升级 vite 版本至2.7.0-beta.11
  2. vite.config.js 中配置:
resolve: {
    preserveSymlinks: true,
  },
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

No branches or pull requests

1 participant