From a9e635c40bb5f4d8c2b6455576518d6d6967a459 Mon Sep 17 00:00:00 2001 From: nima64 Date: Mon, 28 Jun 2021 23:32:41 +0545 Subject: [PATCH] added depcrecation notice to extname --- lib/express-handlebars.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/express-handlebars.js b/lib/express-handlebars.js index d6832f3..f5a1451 100644 --- a/lib/express-handlebars.js +++ b/lib/express-handlebars.js @@ -23,7 +23,7 @@ function ExpressHandlebars(config) { // Config properties with defaults. utils.assign(this, { handlebars : Handlebars, - extname : '.handlebars', + extname : '.handlebars', //Deprecated, extname name is defined by the view engine name layoutsDir : undefined, // Default layouts directory is relative to `express settings.view` + `layouts/` partialsDir : undefined, // Default partials directory is relative to `express settings.view` + `partials/` defaultLayout : 'main',