We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug 运行svrx -p时,会修改项目的package.json,插件会被注入到deps
To Reproduce Steps to reproduce the behavior:
Expected behavior 期望不会修改到package.json,因为就本地开发用
The text was updated successfully, but these errors were encountered:
Sorry for the bug, will fix it very soon!
Sorry, something went wrong.
很多插件都很常用/通用,希望能增加全局安装的方式
@vczhan 全局配置其实可以写到/${HOME}/.svrx/config/.svrxrc.js 中,格式和工程中使用配置文件一样
/${HOME}/.svrx/config/.svrxrc.js
不过插件安装仍然是安装到各个工程目录中的,看下这样能否满足需求?
@xuchaoying 每次使用都要安装,不太方便。
@vczhan 工程中只会在第一次运行时安装喔, 不会每次使用都安装的。 这样设计也是为了避免插件安装包混乱。
这个 issue 原本反馈的问题已经 fix 掉了, issue 即将关闭,后续欢迎在新的 issue 中讨论全局安装的问题~
xuchaoying
No branches or pull requests
Describe the bug
运行svrx -p时,会修改项目的package.json,插件会被注入到deps
To Reproduce
Steps to reproduce the behavior:
Expected behavior
期望不会修改到package.json,因为就本地开发用
The text was updated successfully, but these errors were encountered: