title: Webpack error due to ES2015 template literal - "Unterminated string constant"
body: <p>I'm trying make a Relay.QL call with a ES2015 template literal <a href="https://facebook.github.io/relay/docs/api-reference-relay-ql.html#content" rel="nofollow">as per the documentation</a> but Webpack is not happy with it.</p>
  
  <p>This is the file that contains the Relay.QL call:</p>
  
  <pre><code>import React from "react";
  import ReactDOM from "react-dom";
  import Relay from "react-relay";
  import Main from "./components/Main";
  
  ReactDOM.render(&lt;Main /&gt;, document.getElementById('react'));
  
  console.log(
      Relay.QL'
          {
              links {
                  title
              }
          }
          '
  );
  </code></pre>
  
  <p>And this is the Webpack error:</p>
  
  <pre><code>ERROR in ./js/app.js
  Module build failed: SyntaxError: C:/websites/rgrjs/js/app.js: Unterminated string constant (11:12)
     9 |
    10 | console.log(
  &gt; 11 |     Relay.QL'
       |             ^
    12 |         {
    13 |             links {
    14 |                 title
      at Parser.pp.raise (C:\websites\rgrjs\node_modules\babylon\index.js:1413:13)
  </code></pre>
  
  <p>It looks like Webpack doesn't like the ES2015 template literal used by Relay.QL?</p>
  
  <p>I've included ES2015 options in my webpack.config.js file as follows:</p>
  
  <pre><code>       query: {
              presets: ['react', 'es2015', 'stage-0'],
              plugins: ['./babelRelayPlugin']
          }
  </code></pre>
  
  <p>And finally the .babelRelayPlugin file looks like this:</p>
  
  <pre><code>// `babel-relay-plugin` returns a function for creating plugin instances
  var getBabelRelayPlugin = require('babel-relay-plugin');
  
  // load previously saved schema data (see "Schema JSON" below)
  var schemaData = require('./data/schema.json').data;
  
  
  module.exports = getBabelRelayPlugin(schemaData);
  </code></pre>
  
  <p>Is there something else I need to do?  I'm new to Relay and ES2015, so I'm probably missing something obvious.</p>