Your functions file should then be something like this:
export const someFunction = () => {
// Do something
};
export const someOtherFunction = () => {
// Do something else
};
However, its a good practice to keep one function per file. That makes that you can import them individually and each function might have its own dependencies too…
To make it convenient you can do something like this:
functions.js
import someFunction from './functions/someFunction';
import someOtherFunction from './functions/someOtherFunction';
export { someFunction, someOtherFunction };
Then in your function files you can do so called default exports:
./functions/someFunction.js
export default () => {
// Do something
}
./functions/someOtherFunction.js
export default () => {
// Do something else
}
Good luck 