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
When interpolating with alpha characters in between (e.g, fragments), we end up with the same issue as in #4.
Input
const fragName = 'name'; const fragType = 'type'; gql` fragment ${fragName} on ${fragType} { id name } `
Output `fragment${fragName} on${fragType}{id name}`;
`fragment${fragName} on${fragType}{id name}`;
Expected output `fragment ${fragName} on ${fragType}{id name}`;
`fragment ${fragName} on ${fragType}{id name}`;
Versions:
The text was updated successfully, but these errors were encountered:
compressTemplateLiteral
@frontendr Any updates on this??
Sorry, something went wrong.
Merge tag '1.3.3' into develop
1ad7e5f
Release 1.3.3 - #5 - Fixed an issue where there was not enough white space between parts and variables in template literals in certain cases.
126675e
@1v4nx Thanks for your PR! I've created release 1.3.3 which includes a fix for this using most of the same logic.
frontendr
Successfully merging a pull request may close this issue.
When interpolating with alpha characters in between (e.g, fragments), we end up with the same issue as in #4.
Input
Output
`fragment${fragName} on${fragType}{id name}`;
Expected output
`fragment ${fragName} on ${fragType}{id name}`;
Versions:
The text was updated successfully, but these errors were encountered: