Comparing version 0.2.4 to 0.2.5
@@ -32,4 +32,3 @@ "use strict"; | ||
const lodash_1 = __importDefault(require("lodash")); | ||
// TODO: add support for .md and .txt formats | ||
const SUPPORTED_PARTIAL_EXTENTION_LIST = ['.html', '.hbs']; | ||
const SUPPORTED_PARTIAL_EXTENTION_LIST = ['.html', '.hbs', '.svg', '.md', '.txt']; | ||
function load() { | ||
@@ -53,3 +52,4 @@ /*----------------------------------------------------------------------------- | ||
if (acc[partialNameWithoutExtension] !== undefined) { | ||
logger_1.default.warning(`Detected partials with the same name "${partial.dirname}/${partialNameWithoutExtension}.*", but different extensions.`); | ||
const duplicatePartialPath = `${partial.dirname}${path_1.default.sep}${partialNameWithoutExtension}.*`; | ||
logger_1.default.warning(`Detected partials with the same name ${chalk_1.default.blueBright(duplicatePartialPath)}, but different extensions.`); | ||
} | ||
@@ -56,0 +56,0 @@ else { |
{ | ||
"name": "symply", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "A simple static site generator.", | ||
@@ -5,0 +5,0 @@ "author": "Oleg Legun <oleg.legun@gmail.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176440