Closed nason closed 3 years ago
Upgrading to v5 has caused issues with serverless deployments for me.
Serverless's PluginManager calls loadAllPlugins > addPlugin, which instantiates the plugin. It expects the plugin to be exported via module.exports:
loadAllPlugins
addPlugin
module.exports
In the current build:
> require('serverless-plugin-git-variables') { default: [class ServerlessGitVariables] }
In this branch:
> require('.') [class ServerlessGitVariables]
@nason Published as 5.0.1
Thanks @jacob-meacham!
Upgrading to v5 has caused issues with serverless deployments for me.
Serverless's PluginManager calls
loadAllPlugins
>addPlugin
, which instantiates the plugin. It expects the plugin to be exported viamodule.exports
:In the current build:
In this branch: