-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix warning "module.parent.require is not supported by webpack" #138
Comments
We've got the same issue |
Hello, sorry we took so long to respond here. I am now taking care of keeping this project up to date. |
After looking into it, the main issue is how the package attempts to load the This causes two warnings when building the app:
I think a proper solution would be to change the way we provide the I'll have to consult with the rest of the team on how to move forward with this. |
With the changes in the PR #222 the build output should be:
|
I have a repro of this issue at https://github.com/tansongyang/raygun-webpack-issue-repro.
Run
npm run build
in the console. Here's the output:Source appears to be here: https://github.com/MindscapeHQ/raygun4node/blob/v0.13.0/lib/raygun.ts#L51
Not sure what the fix is, but if I navigate to the file in VS Code, I get a warning that
module.parent
is deprecated:The text was updated successfully, but these errors were encountered: