-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: add plugin options cwd
#83
Conversation
✅ Deploy Preview for vite-plugin-mock-dev-server ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
我认为这不是一个合理的变更。 插件一开始在编写的时候就已经考虑过
|
正常情况下,使用 vite 命令启动 dev server 都没问题 |
此 PR 可以变更为给插件增加一个 |
刚尝试加个 cwd 配置,发现代码中有 通过 |
cwd
set mockLoader's cwd with vite config root