Skip to content

Allow disabling New Relic dependency at build-time #235

@arbrandes

Description

@arbrandes

(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:

"license": "New Relic proprietary"

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions