From 68a1b68d751d6701862701d0da2fb4f30fc26c06 Mon Sep 17 00:00:00 2001 From: Spencer Date: Tue, 13 Nov 2018 13:01:32 -0800 Subject: [PATCH] [kbn-plugin-generator] gitignore app.css if scss used (#25609) When generating a plugin with the plugin generator and scss is in use, we should add the generated `app.css` file to the .gitignore file. --- packages/kbn-plugin-generator/sao_template/template/gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/kbn-plugin-generator/sao_template/template/gitignore b/packages/kbn-plugin-generator/sao_template/template/gitignore index a9f22092da63b..db28fed19376d 100755 --- a/packages/kbn-plugin-generator/sao_template/template/gitignore +++ b/packages/kbn-plugin-generator/sao_template/template/gitignore @@ -1,3 +1,6 @@ npm-debug.log* node_modules /build/ +<%_ if (generateScss) { -%> +/public/app.css +<%_ } -%>