conjure-typescript
conjure-typescript copied to clipboard
`require function is used in a way in which dependencies cannot be statically extracted` warning
i am seeing a lot of these warnings when building conjure-typescript locally.
WARNING in ./node_modules/yargs/index.js 12:39-46
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./src/conjureTypeScript.ts
WARNING in ./node_modules/yargs/yargs.js 350:33-40
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./node_modules/yargs/index.js
@ ./src/conjureTypeScript.ts
WARNING in ./node_modules/yargs/yargs.js 505:83-90
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./node_modules/yargs/index.js
@ ./src/conjureTypeScript.ts
WARNING in ./node_modules/require-main-filename/index.js 2:25-32
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./node_modules/yargs/yargs.js
@ ./node_modules/yargs/index.js
@ ./src/conjureTypeScript.ts
@qinfchen - were you able to resolve this?
No, I didn't resolve this. Is this still an issue? tagging @ferozco and @iamdanfox since they are more familiar with this project.
The issue shouldn't impact the runtime of the CLI. @tylerssn have you been impacted by this?