const path = require('path');
const nodeExternals = require('webpack-node-externals');

module.exports = {
  entry: './src/index.js',
  target: 'node',
  externals: [nodeExternals()],
  output: {
    path: path.join(__dirname, '/lib'),
    filename: 'index.js',
    library: '@samples/graphql',
    libraryTarget: 'umd',
  },
  modulesDirectories: [
    'src',
    'node_modules',
  ],
  module: {
    loaders: [
      {
        test: /\.js$/,
        loader: 'babel',
        exclude: /node_modules/,
      },
      {
        test: /\.graphql$/,
        loader: 'raw',
        exclude: /node_modules/,
      },
    ],
  },
};
@@ -276,17 +276,16 @@
 '@sample
-s
 /graphql
@@ -618,8 +618,9 @@
 %0A  %7D,%0A%7D;
+%0A

Update webpack.config.js