-
Notifications
You must be signed in to change notification settings - Fork 577
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: ts build cwd #396
fix: ts build cwd #396
Conversation
Codecov Report
@@ Coverage Diff @@
## 2.x #396 +/- ##
==========================================
+ Coverage 86.48% 86.56% +0.07%
==========================================
Files 77 77
Lines 2057 2054 -3
Branches 124 124
==========================================
- Hits 1779 1778 -1
+ Misses 256 254 -2
Partials 22 22
Continue to review full report at Codecov.
|
packages/midway-bin/lib/cmd/build.js
Outdated
if (/\.tsx?$/.test(item)) { | ||
args.push(item); | ||
} | ||
args.push(item); |
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.
这里貌似可以去重一下
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.
前面的 files 和 globby 出来的文件可能有重复.. 不过测试了一下 tsc 也能处理
ts build cwd