Just published new serverless graphql plugin

If anyone is interested in graphql development with serverless I just published serverless-plugin-graphiql.
Welcome any feedback & contributions.

4 Likes

This is really cool! I’m a big fan :slight_smile:

1 Like

Thanks @nikgraf! Really appreciate it!

@bencooling Any chance we’ll have ES6 exports syntax support? Getting “Unexpected token import” errors :confused:

@bencooling Adding this seems to do the trick.
I would kindly recommend we add the instruction to the setup. For those of us using webpack to do our transpiling, we don’t need to specify this custom object by default. We would only need to do so for this specific plugin.

// @ serverless.yaml
custom:
  graphiql:
    babelOptions:
      presets: [es2015, es2016, stage-0]