Problem Description
In our development environment, we're not allowed to execute external processes. The npm install step fails because Lingui has a dependency on esbuild. esbuild runs esbuild --version during npm install to check whether the binary works correctly.
Proposed Solution
The dependency is currently only being used for extract-experimental. I suggest to make the esbuild dependency fully optional, so you can only use extract-experimental if you also add the esbuild dependency.
Alternatives Considered
Right now we're removing esbuild with the following override:
"overrides": {
"@lingui/cli": {
"esbuild": "npm:empty-npm-package@1.0.0"
}
}
Additional Context
No response
Problem Description
In our development environment, we're not allowed to execute external processes. The
npm installstep fails because Lingui has a dependency on esbuild. esbuild runsesbuild --versionduringnpm installto check whether the binary works correctly.Proposed Solution
The dependency is currently only being used for extract-experimental. I suggest to make the esbuild dependency fully optional, so you can only use extract-experimental if you also add the esbuild dependency.
Alternatives Considered
Right now we're removing esbuild with the following override:
Additional Context
No response