ultimate-jekyll-manager 0.0.284 → 0.0.285
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -97,6 +97,9 @@ function shouldHaveStableName(name) {
|
|
|
97
97
|
// Sanitize chunk/bundle names: strip leading underscores
|
|
98
98
|
// Jekyll ignores files starting with "_" so these won't be copied to _site
|
|
99
99
|
function sanitizeChunkName(name) {
|
|
100
|
+
if (!name) {
|
|
101
|
+
return '[name]';
|
|
102
|
+
}
|
|
100
103
|
return name.replace(/^_+/, '');
|
|
101
104
|
}
|
|
102
105
|
|