Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Skip template files in development if they're too large
if (process.env.ELEVENTY_ENV === "development") {
// Skipping the search index file speeds up local builds
console.log("Skipping ./src/search.njk")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment