-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ci: webpack@5 test #459
ci: webpack@5 test #459
Conversation
2862563
to
d172ee6
Compare
/cc @hiroppy We need use other hook for ``writeToFile |
Codecov Report
@@ Coverage Diff @@
## master #459 +/- ##
==========================================
+ Coverage 97.01% 97.35% +0.33%
==========================================
Files 7 7
Lines 302 302
Branches 101 100 -1
==========================================
+ Hits 293 294 +1
+ Misses 9 8 -1
Continue to review full report at Codecov.
|
d172ee6
to
6420e42
Compare
if (queryStringIdx >= 0) { | ||
targetFile = targetFile.substr(0, queryStringIdx); | ||
} | ||
// TODO Why? Need remove in future major release |
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.
Can we remove this when we release the next version?
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.
Yes, i think we should drop this in next major, i keep this because i can't understand why it is here 😕 Any ideas?
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.
Yes, it's a good idea which is keeping. I don't know why...
We'll drop this at other pr.
} | ||
|
||
return fs.writeFile(targetPath, content, (writeFileError) => { | ||
if (writeFileError) { |
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.
Should we output Unable to write asset to disk: xxx
as an error?
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.
I think it is unnecessary, we should fail compilation if something not written as expected, because it is potentially break application because file(s) can be used in backend
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.
ok, agree with you.
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.
thanks!
This seems to have broken our dev server. We have |
This PR contains a:
Motivation / Use-Case
test on webpack@5
Breaking Changes
No
Additional Info
No