-
Notifications
You must be signed in to change notification settings - Fork 287
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
Fixup shebang loader order #196
Conversation
I've also updated the Webpack fixtures here, as it seems the output module numbering has been changed by new work on the v5 branch. |
942becf
to
d96404a
Compare
This is quite odd, the unit tests were passing with the updates in the commit there, but now seem to have stopped working again. I'm not sure why the webpack output keeps changing like this perhaps @sokra has an idea? The tests are passing fine for me locally with this yarn.lock. |
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.
No idea. Do the tests run with the self-build version?
src/index.js
Outdated
@@ -139,6 +139,7 @@ module.exports = ( | |||
}, | |||
{ | |||
parser: { amd: false }, | |||
test: /^(.(?!.*\.node$))*$/, |
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.
That's probably the regexp with the worst performance you could have chosen.
Try: exclude: /\.node$/
Ahh, the issue here was that there are two sets of unit tests - one with and without coverage. Completely forgot, despite being responsible for this :P |
Codecov Report
@@ Coverage Diff @@
## master #196 +/- ##
=======================================
Coverage 67.87% 67.87%
=======================================
Files 12 12
Lines 579 579
=======================================
Hits 393 393
Misses 186 186
Continue to review full report at Codecov.
|
This ensures that analysis can still be correctly applied alongside the shebang loader, fixing the error in #192.