-
Notifications
You must be signed in to change notification settings - Fork 293
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
Update browserify wrapper handling #311
Conversation
Codecov Report
@@ Coverage Diff @@
## master #311 +/- ##
=======================================
Coverage 68.37% 68.37%
=======================================
Files 12 12
Lines 370 370
=======================================
Hits 253 253
Misses 117 117 Continue to review full report at Codecov.
|
@guybedford Thanks! Can you add an integration test for |
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.
Let's make sure this has a integration test for tiny-json-http
so we don't regress
The test is a unit test in the asset relocator loader. My hesitation with
adding full integration tests for everything is we end up with a 10 minute
test script, but I get the arguments for that too.
…On Thu, 14 Mar 2019 at 21:49, Steven ***@***.***> wrote:
***@***.**** requested changes on this pull request.
Let's make sure this has a integration test for tiny-json-http so we
don't regress
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#311 (review)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAkiyvxO5MBhQoVrOaifqJJNGdBM9avxks5vWqfkgaJpZM4b1Dqn>
.
|
+1 on integration test |
Sure, I've added an integration test here. |
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.
🔥
This includes the update to the asset relocator loader to improve the Browserify wrapper handling (vercel/webpack-asset-relocator-loader@2d0e7c7).
Specifically we extend the browserify wrapper detection to be able to detect the uglification of the wrapper, as well as ensuring that the require detection is converted to apply to
__non_webpack_require__
.Fixes #299.