-
Notifications
You must be signed in to change notification settings - Fork 34
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
Allow disabling New Relic dependency at build-time #235
Comments
I can suggest the following (not tested though)
However this might break, the workflow of 2U, since then need to be manualy installed to use
|
We have implemented these suggestions and implemented code change suggestions given in the form.
|
@Mashal-m I think an alternative approach could be to upload source map using native API: https://docs.newrelic.com/docs/browser/new-relic-browser/browser-pro-features/upload-source-maps-api/#curl-post
Which to me looks like what
I think there must many libraries or even a native module in NodeJS that could replicate |
(This is a synthesis of the original report in the forum.)
It turns out that that @newrelic/publish-sourcemap is not distributed with a open-source-compatible license, and thus can't be distributed legally. From its package.json:
While #215 introduced an
ENABLE_NEW_RELIC
runtime environment variable, it only configures whether the services will be used; New Relic is still baked into the build. If the build is then distributed as part of an image (say, a Tutor or Bitnami image), this becomes a potential legal problem.We need to find a reasonable way to make the @newrelic/publish-sourcemap dependency optional.
The text was updated successfully, but these errors were encountered: