fix: keep graphql
import as require in cjs
#2258
Merged
graphql
import as require in cjs
#2258