SyntaxFix
Write A Post
Hire A Developer
Questions
Use
// aspect-type.js class AspectType { } export default AspectType;
Then to import it
// some-other-file.js import AspectType from './aspect-type';
Read http://babeljs.io/docs/learn-es2015/#modules for more details