Anyone around to point out how to enable import st...
# prisma-whats-new
a
Anyone around to point out how to enable import statements in
graphql-yoga
and resolve the following?
Copy code
(function (exports, require, module, __filename, __dirname) { import { GraphQLServer } from './graphql-yoga';
                                                              ^^^^^^

SyntaxError: Unexpected token import
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:588:28)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)
    at Function.Module.runMain (module.js:665:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:607:3
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c node .