-
-
Notifications
You must be signed in to change notification settings - Fork 516
Open
Labels
bugSomething isn't workingSomething isn't workingworkaroundA workaround has been providedA workaround has been provided
Description
What are the steps to reproduce this issue?
- Define a
mutatorthat usesimport.metaenvironment variables in the browser - Run
orvalto generate the client
What happens?
Since orval is packaged in CJS, the CLI throws a warning that import.meta will be empty even though the function using import.meta is never executed during generation.
What were you expecting to happen?
The mutator should be executed without any warnings. Why does orval bother with linting client code?
Any logs, error output, etc?
…
Any other comments?
Somewhere between versions 6.19 and 6.23 the build-tooling for orval seems to have changed. I can't find this being mentioned in any of the release notes.
What versions are you using?
Package Version: 6.24.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingworkaroundA workaround has been providedA workaround has been provided