-
Notifications
You must be signed in to change notification settings - Fork 0
Sinon is not playing nicely with webpack #3
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
Comments
+1 |
@idostern: For the record, this issue is created against a test / example repo, not sinon or webpack. I created this here not so much looking for action as to document the behavior and how I worked around it. We should probably create an issue against sinon in order to see this resolved ultimately. |
In general, I find that resolving webpack dependencies through npm occasionally fails because the dependencies have node specific features in them since npm is typically used to resolve "node" packages and not necessarily front-end libraries. I'm hoping |
+1 |
1 similar comment
+1 |
Sinon and webpack are not getting along well. Seems to be caused by the fact that sinon is using dynamic resolve statements. Regardless, if sinon is imported via webpack, the following error is generated at runtime:
And the following warnings are listed while bundling:
The text was updated successfully, but these errors were encountered: