From: colemanw <coleman@civicrm.org> Date: Thu, 24 Sep 2020 11:57:10 +0000 (-0400) Subject: ext/greenwich - Coerce `select2-bootstrap.css` to be handled as SCSS (#9) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2aba31d81f463db82b9902289f4923f2f3da796a;p=civicrm-core.git ext/greenwich - Coerce `select2-bootstrap.css` to be handled as SCSS (#9) Co-authored-by: Tim Otten <totten@civicrm.org> --- diff --git a/ext/greenwich/composer.compile.json b/ext/greenwich/composer.compile.json index c58ad1afbe..932659b286 100644 --- a/ext/greenwich/composer.compile.json +++ b/ext/greenwich/composer.compile.json @@ -1,11 +1,16 @@ { "compile": [ + { + "title": "Greenwich (Coerce <comment>select2-bootstrap</comment> 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 (<comment>dist/bootstrap3.css</comment>)", "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"] } ] }