From 2093768617d76cdbe4f2a81041839c1edf0bd278 Mon Sep 17 00:00:00 2001 From: Mark Wubben Date: Sun, 16 Feb 2020 13:43:15 +0100 Subject: [PATCH] Clarify which build files are ignored by AVA Fixes #14. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4b3da26..c403a50 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ Both keys and values of the `rewritePaths` object must end with a `/`. Paths are Output files are expected to have the `.js` extension. +AVA searches your entire project for `*.js`, `*.cjs`, `*.mjs` and `*.ts` files (or other extensions you've configured). It will ignore such files found in the `rewritePaths` targets (e.g. `build/`). If you use more specific paths, for instance `build/main/`, you may need to change AVA's `files` configuration to ignore other directories. + ## Add additional extensions You can configure AVA to recognize additional file extensions. To add (partial†) JSX support: