Skip to content

Commit

Permalink
ext/greenwich - Coerce select2-bootstrap.css to be handled as SCSS (#9
Browse files Browse the repository at this point in the history
)

Co-authored-by: Tim Otten <[email protected]>
  • Loading branch information
colemanw and totten authored Sep 24, 2020
1 parent e23c62b commit 2aba31d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ext/greenwich/composer.compile.json
Original file line number Diff line number Diff line change
@@ -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"]
}
]
}

0 comments on commit 2aba31d

Please sign in to comment.