Hello there,
Has anyone else noticed that barrel files are no longer working in the v20 nodejs runtime? As soon as i downgrade to 18 everything works as intended but upgrading to v20 breaks it.
Barrel file: The manifest file only ever points to a index.ts
file which:
export { issueCreated } from './triggers/jira/issue-created';
export { resolvers } from './resolvers/index';
// ..... all other exports from every file that manifest file needs
Then the manifest file will have the pointers as index.issueCreated
To test this i have created an issueCreated function in the index file directly and added logs inside it to know when it is executed. I have removed all code and made this as minimal example as possible. Assuming I am on version 20
Now switching to version 18 runtime and making no changes to code, restarting tunnel since manifest was edited.
To further clarify this issue, i disabled the export in the index.ts file and created the issueCreated function in that file directly. There i was able to make the console.logs work even in runtime v20.