Как объединить модули ES6?

Как я могу объединить модули ES6?

var foo = 2; // This would normally be scoped to the module.
export function Bar() {}

// ...concatenate...

import { Bar } from 'javascripts/bar' //This file no longer exists in the concatenated scenario.
export function Bam() {}

Ответы на вопрос(2)

Ваш ответ на вопрос