diff --git a/lib/classes/PluginManager.js b/lib/classes/PluginManager.js index 27bec57c0..af8ec300b 100644 --- a/lib/classes/PluginManager.js +++ b/lib/classes/PluginManager.js @@ -77,7 +77,10 @@ class PluginManager { // we want to load plugins installed locally in the service if (this.serverless && this.serverless.config && this.serverless.config.servicePath) { - module.paths.unshift(path.join(this.serverless.config.servicePath, 'node_modules')); + module.paths.unshift( + path.join(this.serverless.config.servicePath, 'node_modules'), + path.join(this.serverless.config.servicePath, '.serverless_plugins') + ); } this.loadPlugins(servicePlugins);