We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading from 2.11.0 to 2.12.1, It seems like the packaged output does not contain src which is required by the source maps.
src
When using @apollo/client v3.3.11, webpack throws the following warning,
WARNING in C:/git/CustomizableSolution/node_modules/@apollo/client/node_modules/graphql-tag/lib/index.js Module Warning (from C:/git/CustomizableSolution/node_modules/source-map-loader/index.js): (Emitted value instead of an instance of Error) Cannot find source file '../src/index.ts': Error: Can't resolve '../src/index.ts' in 'C:\git\CustomizableSolution\node_modules\@apollo\client\node_modules\graphql-tag\lib' @ C:/git/CustomizableSolution/node_modules/@apollo/client/core/index.js 15:0-30 16:25-28 17:30-33 18:42-45 19:43-46 20:0-15 @ C:/git/CustomizableSolution/node_modules/@apollo/client/index.js @ ./src/apolloClient.ts @ ./src/index.tsx @ multi C:/git/CustomizableSolution/node_modules/piral-cli-webpack/lib/set-path ./src/index.tsx
Steps to reproduce:
npm pack
.map
lib
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered:
I have the exact same issue.
Sorry, something went wrong.
Same, can we get this PR merged?
Successfully merging a pull request may close this issue.
After upgrading from 2.11.0 to 2.12.1, It seems like the packaged output does not contain
src
which is required by the source maps.When using @apollo/client v3.3.11, webpack throws the following warning,
Steps to reproduce:
npm pack
.map
type files withinlib
Expected output:
src
. package should containsrc
Actual output:
src
The text was updated successfully, but these errors were encountered: