You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I just upgraded to webpack 5 and those warnings started to appear. Seems like there are some references to types of the src folder which is not included in the npm module. Any ideas how to prevent those? I've read that other packages may have similar issues with webpack 5.
`WARNING in ./node_modules/graphql-request/dist/types.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'E:\...\node_modules\graphql-request\src\types.ts' file:
Error: ENOENT: no such file or directory, open 'E:\...\node_modules\graphql-request\src\types.ts'
@ ./node_modules/graphql-request/dist/index.js 221:14-32
@ ./src/config/graphql-client.js 3:0-53 4:33-46
@ ./src/hooks/usePost.js 7:0-57 12:23-44
@ ./src/components/Post/index.js 7:0-40 22:6-13 54:10-17
@ ./src/components/Main/index.js 4:0-35 19:35-39
@ ./src/config/routes.js 5:0-35 14:32-36
@ ./src/components/App/index.js 7:0-35 26:20-30
@ ./src/index.js 8:0-35 12:33-36
`
The text was updated successfully, but these errors were encountered:
Hi, I just upgraded to webpack 5 and those warnings started to appear. Seems like there are some references to types of the src folder which is not included in the npm module. Any ideas how to prevent those? I've read that other packages may have similar issues with webpack 5.
The text was updated successfully, but these errors were encountered: