-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This is going to go wrong more than once, so we should replace it with something transparent.
The simplest approach looks to be to write code as normal, e.g.:
import { visit } from "graphql"But then after compiling it we run an additional babel transform or sed script that rewrites it to:
const { visit } = require("./graphql")
…where ./graphql is a module that does the dance to get vscode-apollo’s node_modules.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request