telefuncFiles
Environment: Server.
This config is experimental and breaking changes can be introduced in any minor version update.
If our stack doesn't support server-side transformation, then we have to use config.telefuncFiles
for providing Telefunc the list of .telefunc.js
files.
// Environment: Server
import { config } from 'telefunc'
config.telefuncFiles = [
require.resolve('./hello.telefunc.mjs')
]