From 2aba31d81f463db82b9902289f4923f2f3da796a Mon Sep 17 00:00:00 2001 From: colemanw Date: Thu, 24 Sep 2020 07:57:10 -0400 Subject: [PATCH] ext/greenwich - Coerce `select2-bootstrap.css` to be handled as SCSS (#9) Co-authored-by: Tim Otten --- ext/greenwich/composer.compile.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ext/greenwich/composer.compile.json b/ext/greenwich/composer.compile.json index c58ad1afbef3..932659b28687 100644 --- a/ext/greenwich/composer.compile.json +++ b/ext/greenwich/composer.compile.json @@ -1,11 +1,16 @@ { "compile": [ + { + "title": "Greenwich (Coerce select2-bootstrap to SCSS)", + "shell": "set -e ; mkdir -p extern/select2 ; cp ../../bower_components/select2/select2-bootstrap.css extern/select2/select2-bootstrap.scss", + "watch-files": ["../../bower_components/select2/"] + }, { "title": "Greenwich CSS (dist/bootstrap3.css)", "php-method": "\\Civi\\Compile\\Scss::build", - "watch-files": ["scss"], + "watch-files": ["scss", "extern/select2"], "scss-files": {"scss/main.scss": "dist/bootstrap3.css"}, - "scss-includes": ["scss", "extern/bootstrap3/assets/stylesheets", "../../bower_components/select2"] + "scss-includes": ["scss", "extern/bootstrap3/assets/stylesheets", "extern/select2"] } ] }