graphql-mini-transforms - Use stripIgnoredCharacters to minimize the source (Instead of bespoke regex)
steven-hoffman-jomashop opened this issue · comments
steven-hoffman-jomashop commented
Overview
graphql-mini-transforms - Use graphql's stripIgnoredCharacters to minimize the source (Instead of bespoke regex)
Motivation
graphql version 14.3.0 Added the 'stripIgnoredCharacters utility function'
This can be used instead of the bespoke regex used in minifySource
This change will remove some bespoke regex and use a more 'standard' minimization function.
Notes
- Current minimum dependency for graphql is >=14.50
- Many documents will not have their hash change; some will have their hash change.
Scope
- Package: graphql-mini-transforms
Checklist
- Please delete the labels section before submitting your issue
- I have described this issue in a way that is actionable (if possible)