Skip to content
New issue

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

fix: include source files in package for source maps #317

Merged
merged 1 commit into from
Feb 4, 2022
Merged

fix: include source files in package for source maps #317

merged 1 commit into from
Feb 4, 2022

Conversation

willstott101
Copy link
Contributor

@willstott101 willstott101 commented Jan 31, 2022

#311 details how source maps are broken - they refer files in the src directory which aren't included in the installed package.

This is the easiest fix for this problem. There is no fix which doesn't increase the size of the package other than completely removing the source maps unfortunately.

I've taken this approach rather than embedding the source in the map files as that's what we decided elsewhere in the graphql ecosystem: graphql/graphiql#2047

@willstott101 willstott101 changed the title Include source files in package to fix source maps (fixes #311) Include source files in package to fix source maps: fixes #311 Jan 31, 2022
@jasonkuhrt jasonkuhrt changed the title Include source files in package to fix source maps: fixes #311 fix: include source files in package for source maps Feb 4, 2022
@jasonkuhrt jasonkuhrt merged commit 0e406cc into graffle-js:master Feb 4, 2022
@willstott101 willstott101 deleted the patch-1 branch February 4, 2022 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants