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
Current version only supports importing functions from the functionDirectory configuration.
Feature / Enhancement Description
I would like to maintain separate packages for specific function implementations, eg: Stripe, Gigwage. The function package would include a folder structure which would be processed similar to the functionDirectory in the local project.
Example Use Case
The plugin be imported from the external package and would accept an optional configuration argument:
importStripeFunctionsfrom'@epicdm/parse-functions-stripe';importGigwageFunctionsfrom'@epicdm/parse-functions-gigwage';{functionDirectory: 'src/functions',// the directory to watch & build Parse functionsmoduleAlias: '@@functions',// the alias name used for importing the built files// from, e.g. `import initialize, { ClassNames } from '@@functions';`plugins: [StripeFunctions({appId: "",appSecret: "",}),GigwageFunctions(),]}
Alternatives / Workarounds
Current workaround would be to maintain a package and copy the folder into the functionDirectory.
The text was updated successfully, but these errors were encountered:
New Feature / Enhancement Checklist
Current Limitation
Current version only supports importing functions from the functionDirectory configuration.
Feature / Enhancement Description
I would like to maintain separate packages for specific function implementations, eg: Stripe, Gigwage. The function package would include a folder structure which would be processed similar to the functionDirectory in the local project.
Example Use Case
The plugin be imported from the external package and would accept an optional configuration argument:
Alternatives / Workarounds
Current workaround would be to maintain a package and copy the folder into the functionDirectory.
The text was updated successfully, but these errors were encountered: