mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
build sass using dart-sass, bypassing css extractor
This commit is contained in:
9
Makefile
9
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user