11tyThe possum is Eleventy’s mascot

Eleventy Documentation

This is an older version of Eleventy. Full release history. Go to the newest Eleventy docs. You could try /docs/ignores/ although it may not exist.

Documentation Pages

Ignore Template Files #

Add an .eleventyignore file to your input directory (or your project root New in v0.7.0) for a new line-separated list of files (or globs) that will not be processed by Eleventy. Paths listed in your project’s .gitignore file are automatically ignored.

If you do not have a .gitignore file in your project, the node_modules directory will be ignored automatically.

Example #

Filename .eleventyignore

Opt-out of using .gitignore New in v0.3.5 #

You can disable automatic use of your .gitignore file by using the Configuration API method: eleventyConfig.setUseGitIgnore(false);.

Filename .eleventy.js
module.exports = function(eleventyConfig) {

When using .gitignore is disabled, .eleventyignore will be the single source of truth for ignored files. This also means that your node_modules directory will be processed unless otherwise specified in your .eleventyignore file.