Wyeksportuj wszystkie funkcje z pliku JS
// Unfortunately, there's no wildcard export.
// You use the "export" keyword at the begining of each function.
export function foo() {
// ...
}
export function bar() {
// ...
}
// or export them all at the bottom (ES6)
export { foo, bar, bizz, bazz }
Cupboard Steak