From bfb31f475bf07a2a2a3e521a3e0879526850602b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Thu, 8 Mar 2018 23:31:31 +0100 Subject: [PATCH] Add gitignore inside example/ (#641) * Add gitignore inside example/ `"example"` is in the `"files"` key in our package.json, which overrides the root .gitignore and ends up including the entire examples folder, including its dist/ and node_modules/. That means a fresh install of choo comes in at over 100MB of unused code. Nested .gitignores still apply to folders that are specified in the `files` key, so this pushes choo back down to a <500KB installed size :) The example code itself is still included so folks can use it as offline documentation. * also ignore package-lock.json --- example/.gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 example/.gitignore diff --git a/example/.gitignore b/example/.gitignore new file mode 100644 index 0000000..1a99321 --- /dev/null +++ b/example/.gitignore @@ -0,0 +1,3 @@ +dist/ +node_modules/ +package-lock.json