-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fix: mpa resolve error on Windows #10382
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
这个是啥问题,是不是把 |
Codecov ReportBase: 29.29% // Head: 29.29% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #10382 +/- ##
==========================================
- Coverage 29.29% 29.29% -0.01%
==========================================
Files 445 445
Lines 13005 13006 +1
Branches 3178 3178
==========================================
Hits 3810 3810
- Misses 8591 8592 +1
Partials 604 604
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
我搞错了,跟那个 issues 和 winPath 无关,是我这边出现了新的错误,根据报错信息修了一下 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@@ -73,6 +73,7 @@ import * as x from "${winPath(args.path)}"; | |||
ret = x.${opts.exportName} || {}; | |||
`, | |||
loader: 'ts', | |||
resolveDir: args.path.slice(0, args.path.lastIndexOf('/')), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { dirname } from 'path'
dirname(args.path)
Co-Authored-By: 咲奈Sakina <59400654+fz6m@users.noreply.github.com>
在
![image](https://user-images.githubusercontent.com/85140972/216271747-3e4124a8-ae8f-4391-a8f2-4f87f5b8deb6.png)
examples/mpa
里 dev 报如下错误:此 PR 尝试修复。