Closed SaadbinWaheed closed 4 years ago
@DivisionSi why are you running webpack for a node runtime project?
Duplicate of #242, see https://github.com/panva/node-openid-client/issues/242#issuecomment-600545718
But why is adding it to externals bypassing the warning?
I have updated to the latest version and using:
node: 10.16.1 I am getting the following 2 warnings:
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
and(Emitted value instead of an instance of Error) Cannot find source file '../source/index.ts': Error: Can't resolve '../source/index.ts' in 'C:\Source_imodelSchemaManagementService\iModelSchemaManagementService\node_modules\@sindresorhus\is\dist'
Adding 'got' to webpack.config externals solves the issue but I want to avoid that trick.