-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
require function is used in a way in which dependencies cannot be statically extracted #7
Comments
I am having the same issue! ERROR in ./~/sortobject/index.js |
Me too. We use browserify to bundle an single executable file in production environments. Because the |
Can someone post up a repository that reproduces this problem. The information above is not enough for me to know what is the cause of this. This package uses https://github.com/bevry/editions to specify the editions that this package supports, this is then rendered in the readme - https://github.com/bevry/sortobject/blob/c521f07670eab0f86394195876fe6d249b97d830/README.md#editions - our source is coded in ESNext and it is compiled down to ES2015. The The If the issue is related to a bundler - and you want to use a particular edition, you can use the information rendered in the readme with your bundler configuration. Normally bundlers would use either the It would be great if the bundlers supported the editions field directly, and then could take in multiple source editions, and compile for the correct target. However, that hasn't happened it: https://youtu.be/IAB8_UlcNWI - still, the editions field and the editions loaded, individually, or even together, are a great step up from the usual practices of only supporting the highest common denominator or the lowest. Instead, the consumer currently, and eventually the bundler, can autopick the best source edition to use for the target environment. Right now for our packages that use editions, we use the I'm not sure what else I can do, besides probably mentioning the |
Try again with v1.2.0 |
Hello,
I've posted question on StackOverflow regarding one library, which complains about your library when I try to run tests. It looks like the problem, which was fixed in 1.1.1, but I use 1.1.1 and the problem persists. I've also created a small project so you can reproduce it.
Can you fix this bug or at least make sure, that this is not a bug in your library?
The text was updated successfully, but these errors were encountered: