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
This permits you to tell serverless to ignore files that have
similar names to the route handlers. So ignore index.test.js or
index.ts.
This fixesserverless-heaven#433 and serverless-heaven#405
It makes life better for lots of folks :-)
// If we cannot find any handler we should terminate with an error
41
44
thrownewthis.serverless.classes.Error(`No matching handler found for '${fileName}' in '${this.serverless.config.servicePath}'. Check your service definition.`);
@@ -117,7 +120,7 @@ module.exports = {
117
120
returnBbPromise.reject(err);
118
121
}
119
122
}
120
-
123
+
121
124
// Intermediate function to handle async webpack config
122
125
constprocessConfig=_config=>{
123
126
this.webpackConfig=_config;
@@ -220,7 +223,7 @@ module.exports = {
220
223
221
224
returnBbPromise.resolve();
222
225
};
223
-
226
+
224
227
// Webpack config can be a Promise, If it's a Promise wait for resolved config object.
0 commit comments