-
Notifications
You must be signed in to change notification settings - Fork 59
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
Bundle size pretty big, since universal-url #126
Comments
mh, can you point me which file you mean? The polyfill itself? the main file is quite alright, or not? https://unpkg.com/browse/[email protected]/dist/umd/ |
File size is ok, but probles is that this is not all code, since it contains |
I see. Didn't think of webpack. I guess I need to place everything inside |
The require calls are there to make it work in node.js if fetch or URL is not present. As said, did not think about webpack. Just checked out this: Maybe it is worth a try to use |
could you try this one if the require() calls are still picked up by webpack? |
Still picked up :C |
Seems like url-polyfill must be used instead.
The text was updated successfully, but these errors were encountered: