-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat: add support and tests for webpack #45
Conversation
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.
Thank you so much for doing this!
Oh, you have |
@JustinBeckwith It's ready for one more look! |
await execa('npx', ['webpack'], {cwd: `${stagingPath}/`, stdio: 'inherit'}); | ||
const bundle = path.join(stagingPath, 'dist', 'bundle.min.js'); | ||
const stat = fs.statSync(bundle); | ||
assert(stat.size < 256 * 1024); |
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.
NOICE!
🎉 This PR is included in version 1.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Fixes #44. Turns out gaxios cannot pass querystring parameters when running in the browser because of the bad
URL
polyfill used. We don't need to have any polyfill forURL
since we havewindow.URL
, so let's use it.Also, added some tests for browser.