You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UPDATE: Per the final design, you can specify a single file or a glob pattern for multiple files as the "main" field in your "package.json" file.
Basically, provide a way for users to run app-level code when the worker is initialized. This would be directly beneficial for the new hooks feature (#522), but could realistically be used for any arbitrary code. Current proposal is to respect the main field in a user's package.json
NOTE: I already added the function app dir to the worker init request in Azure/azure-functions-host#8144, necessary to read the user's package.json
The text was updated successfully, but these errors were encountered:
With the change on the Function Host, will there be some more data provided to the workers when they start up, info that can be used to find the package.json?
UPDATE: Per the final design, you can specify a single file or a glob pattern for multiple files as the "main" field in your "package.json" file.
Basically, provide a way for users to run app-level code when the worker is initialized. This would be directly beneficial for the new hooks feature (#522), but could realistically be used for any arbitrary code. Current proposal is to respect the main field in a user's package.json
NOTE: I already added the function app dir to the worker init request in Azure/azure-functions-host#8144, necessary to read the user's package.json
The text was updated successfully, but these errors were encountered: