cancel
Showing results for 
Search instead for 
Did you mean: 

Merged CSS contains unresolved @import statements

Merged CSS contains unresolved @import statements

Essentially, title. Server side less generation appears to be completely ignoring all import statements which are plainly visible in the compiled css.

 

Our standard deployment script appears to work flawlessly and shows no error messages:

php -d memory_limit=2048M bin/magento setup:upgrade
php -d memory_limit=2048M bin/magento setup:di:compile
rm -R pub/static/* && rm -R var/view_preprocessed/
touch pub/static/deployed_version.txt
php -d memory_limit=2048M bin/magento setup:static-content:deploy
php -d memory_limit=2048M bin/magento cache:flush

 

4 REPLIES 4

Re: Merged CSS contains unresolved @import statements

@scott_lambert If you are on developer mode then you have to use gulp to complile your less files.

 

After compiling you will get the corresponding css files with all your compiled code.

 

Thanks

Re: Merged CSS contains unresolved @import statements

This is on a live site in production mode with static content deployed. Except the static content is actually a css file with @import statements that have not been resolved.

Re: Merged CSS contains unresolved @import statements

Does anyone know what might be happening here?

Re: Merged CSS contains unresolved @import statements

Anyone?