I have a folder of utils which has an index.js file. To simplify utils usage throughout my app I am exporting everything in index.js.
So far I have been re-exporting only named modules like this:
export * from './Constants';
export { TIME } from './Time';
Is it possible to export a default as named? This results in a syntax error:
export default as { Constants } from './Constants';