Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Jul 12, 2021
1 parent 3b2ca21 commit a72b385
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/liquid-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ module.exports = function(eleventyConfig) {
console.warn(chalk.blue("[11ty/eleventy-upgrade-help] ") + "The liquidjs package renamed the `strict_filters` option to `strictFilters`. Please rename in `eleventyConfig.setLiquidOptions` accordingly.");
} else if(!("strictFilters" in eleventyConfig.liquidOptions)) {
// no strict_filters or strictFilters
console.warn(chalk.blue("[11ty/eleventy-upgrade-help] ") + "The liquidjs `strictFilters` option default changed from false to true. Revert with `eleventyConfig.setLiquidOptions({ strictFilters: false })`.");
console.warn(chalk.blue("[11ty/eleventy-upgrade-help] ") + "The liquidjs `strictFilters` option default (in Eleventy) changed from false to true. Revert with `eleventyConfig.setLiquidOptions({ strictFilters: false })`.");
}

if(!("dynamicPartials" in eleventyConfig.liquidOptions)) {
console.warn(chalk.blue("[11ty/eleventy-upgrade-help] ") + "The liquidjs `dynamicPartials` option default changed from false to true. Revert with `eleventyConfig.setLiquidOptions({ dynamicPartials: false })`.");
}
})
};

0 comments on commit a72b385

Please sign in to comment.