•  
      request #32985 Remove usages of process.env.NODE_ENV variable in project sidebar element
    Infos
    #32985
    Thomas Gerbet (tgerbet)
    2023-07-05 17:34
    2023-07-05 14:53
    34585
    Details
    Remove usages of process.env.NODE_ENV variable in project sidebar element

    Default behavior of Vite is to let the process.env.* variable when building a library which make sense. In the case of project-sidebar element it is possible that consumers might not have a bundler to deal with it so browsers will complain because process does not make sense in their context.

    Mediawiki Standalone
    14.10
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2023-07-05
    Attachments
    Empty
    References

    Follow-ups