Export more than one variable in ES6? : <p>I'm trying to export more than one variable in ES6:</p>

<p>exports.js</p>

<pre><code>var TestObject = Parse.Object.extend('TestObject')
var Post = Parse.Object.extend('Post')

export default TestObject
export Post
</code></pre>

<p>main.js:</p>

<pre><code>import TestObject from '../store'
import Post from '../store'

var testObject = new TestObject() // use Post in the same way
testObject.save(json).then(object =&gt; {
  console.log('yay! it worked', object)
})
</code></pre>

<p>I understand that there's only one default value so I only used <code>default</code> in the first item.</p>

<p>However, I get this error message:</p>

<pre><code>Module build failed: SyntaxError: /home/alex/node/my-project/src/store/index.js: Unexpected token (9:7)
   7 | 
   8 | export default TestObject
&gt;  9 | export Post
</code></pre>

<p>Maybe I'm doing it the wrong way?</p>
