I’m in the same situation as the user above, i’m trying to use netlify-plugin-inline-functions-env with a function using typescript and esbuild, and the plugin doesn’t find any functions available.
I’ve looked trough the source code and i think the main problem is that the “utils.functions.listAll()” returns something like this:
It seems like it returns the list of typescript files of the functions, and not the compiled js ones in the output directory.
I’ve tried onPreBuild, onBuild and onPostBuild with the same result, i’ve also tried to edit the plugins for a little test, hard coding my compiled function paths, and it seem to work fine.
I can make a pull request to the plugin, but i have some doubts on how i can get the functions list when using esbuild, i am not sure if the “utils.functions.listAll()” is intented to output the result above or if is broken, or if maybe there is another way to retrieve functions list.