aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2023-06-06 14:56:28 +0200
committerGitHub <noreply@github.com>2023-06-06 14:56:28 +0200
commitf96afcf85e08090fff6b8c0df9945b7144449d4e (patch)
tree4ecaa778e278da1f35dcda8d7f40c220acbfa736 /package.json
parent9ed4040d73b10924cbb0562a42cf293c232eb7d1 (diff)
parent1ea2082dcf90c5a995bda0c6c9bcf3860eb932b9 (diff)
downloadnextcloud-server-f96afcf85e08090fff6b8c0df9945b7144449d4e.tar.gz
nextcloud-server-f96afcf85e08090fff6b8c0df9945b7144449d4e.zip
Merge pull request #38590 from nextcloud/chore/sass-no-external-apps
chore: Do not sass-compile external apps
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 675df547f8d..3ea4dbe3ac2 100644
--- a/package.json
+++ b/package.json
@@ -17,8 +17,8 @@
"test": "jest",
"test:watch": "jest --watch",
"test:jsunit": "karma start tests/karma.config.js --single-run",
- "sass": "sass --style compressed --load-path core/css core/css/ apps/*/css",
- "sass:watch": "sass --watch --load-path core/css core/css/ apps/*/css",
+ "sass": "sass --style compressed --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then echo -n \"$cssdir \"; fi; done)",
+ "sass:watch": "sass --watch --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then echo -n \"$cssdir \"; fi; done)",
"sass:icons": "babel-node core/src/icons.js",
"cypress": "npm run cypress:component && npm run cypress:e2e",
"cypress:component": "cypress run --component",