0

Has anyone tried to generate static sass files without gulp? I want to do the same as when I execute the following commands...

  • gulp deploy --theme Namespace/Theme
  • gulp sass --theme Namespace/Theme

Also, I've tried with...

  • cd pub/static && find . -depth -name .htaccess -prune -o -delete
  • rm -rf var/cache/ var/generation/* var/page_cache/* var/view_preprocessed/*
  • bin/magento setup:static-content:deploy -f

... but my css and js files are not generated.

Greetings

1 Answer 1

1

Magento 2 does not come with Sass support out the box, for it to work with static-content-deploy you would need to add your own adapter. Instructions for that can be found on the official dev docs here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.