How to make Meteor ignore files?

Is there any specific folder in the Meteor structure that is simply ignored by Meteor? ( meteor bundle and meteor deploy , etc.)

Or even better: is there some kind of .meteorignore file where we can list the files for Meteor to ignore?

+8
meteor
source share
2 answers

There is no .meteorignore file .meteorignore .

Currently, the only reliable way to hide a file from Meteor is to hide it (add a dot to the beginning of the name). You can hide the entire directory, which is useful if you need specific file names for things like Grunt tasks.

For example, if you create a directory named .hammerTime , then Meteor cannot touch this.

+35
source share

Meteor v1.5.2.1 supports .meteorignore file .meteorignore . It works just like .gitignore .

You can use them in any directory of your project and are fully integrated with the file viewing system.

+4
source share

All Articles