I\'m trying to create a module that exports multiple ES6 classes. Let\'s say I have the following directory structure:
my/ └── module/ ├── Foo.js ├──
// export in index.js export { default as Foo } from './Foo'; export { default as Bar } from './Bar'; // then import both import { Foo, Bar } from 'my/module';