build sass using dart-sass, bypassing css extractor

This commit is contained in:
realaravinth
2021-12-10 06:16:03 +05:30
parent e399f82ac4
commit 5afa531bb8
8 changed files with 54 additions and 66 deletions

View File

@@ -35,6 +35,15 @@ frontend: env ## Build frontend
@-rm -rf $(BUNDLE)
@-mkdir $(BUNDLE)
yarn build
@yarn run dart-sass -s \
compressed templates/main.scss \
./static/cache/bundle/css/main.css
@yarn run dart-sass -s \
compressed templates/mobile.scss \
./static/cache/bundle/css/mobile.css
@yarn run dart-sass -s \
compressed templates/widget/main.scss \
./static/cache/bundle/css/widget.css
@./scripts/librejs.sh
@./scripts/cachebust.sh