The package ( tools/bundler.js ) has a list of regular expressions that it ignores:
// files to ignore when bundling. node has no globs, so use regexps var ignore_files = [ /~$/, /^\.#/, /^#.*#$/, /^\.DS_Store$/, /^ehthumbs\.db$/, /^Icon.$/, /^Thumbs\.db$/, /^\.meteor$/, /* avoids scanning N^2 files when bundling all packages */ /^\.git$/ /* often has too many files to watch */ ];
Another approach is to place the files in the test directory. If you do not request a bundle of tests, this is out of the question.
One recent approach is to place files in the packages directory. I donβt think you even need a package.js stub file.
Both of these parameters are a bit hacked, but are great for maintenance.
I think it would be nice if there was something like .meteorignore akin to .gitignore .
Stephend
source share