Visitar URL original
Deletion of OLDPWD env variable creates error with webpack · Issue #1030 · shelljs/shelljs · GitHub
Skip to content

Deletion of OLDPWD env variable creates error with webpack #1030

Description

@joker-777

Hi, we use git-rev-sync-js in our webpack configuration file which uses your library.
I saw that you delete the env variable OLDPWD which creates the error

ERROR in EnvironmentPlugin - OLDPWD environment variable is undefined.

You can pass an object with default values to suppress this warning.
See https://webpack.js.org/plugins/environment-plugin for example.

Activity

  1. added
    fixBug/defect, or a fix for such a problem
    on Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixBug/defect, or a fix for such a problem

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions