-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
InstallError: ember-resources -- installing the packaged failed #591
Comments
Does bundle phobia have assumptions around how these libraries should be built? They're already built. What's in dist/ is all there is. No need to worry about dependencies or anything, because the consuming application handles that. |
@NullVoxPopuli I faced same issue and run bundlephobia locally, seems like a timeout issue. Feel free to use my PR #596 if it helps. Any feedback welcome. |
@NullVoxPopuli I tried your package in local bundlephobia and it seems to have real build issue not the timeout one as mine. |
Thanks for taking a look! Based on the picture, it's struggling with |
You may look into this stackoverflow post https://stackoverflow.com/questions/63423384/you-may-need-an-additional-loader-to-handle-the-result-of-these-loaders I recently written some boilerplates based on rollup, where this is not the issue, in case if it helps. Typescript versions I am bringing soon. |
Why is that a problem tho? Like, i won't emit less modern code. -- browsers support the syntax I'm using. Is there a way to tell the bundlephobia loader what targets to use?
Thanks for these - my compilation is fine though in real world uses / production apps. |
Is the solution to make bundlephobia's analysis target evergreen browsers? |
is it sufficient to have bundlephobia to just measure the file sizes in |
@NullVoxPopuli no, there's no standard indicating that built files must be in a You must indicate an entry point into your application (via a |
My package.json declares 'exports' as main is insufficient (and also allows files to be 'wherever'). Will bundle phobia support 'exports'? |
ember-resources
error: https://bundlephobia.com/package/ember-resources
github: (builds with rollup): https://github.com/NullVoxPopuli/ember-resources/tree/main/ember-resources
but on npm, it's pre-built as a single file
Entire (stringified) error that I see in my browser console
The text was updated successfully, but these errors were encountered: