How do I compile scss files in version 6.4 without scaffolding | Community
Skip to main content
Level 2
April 20, 2023
Solved

How do I compile scss files in version 6.4 without scaffolding

  • April 20, 2023
  • 3 replies
  • 1155 views

HI All,

Is there any way to compile SCSS files when the project is using AEM 6.4, but there is no npm or other scaffolding?

Are there any plugins for Maven that can solve this problem?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Rohit_Utreja

@yan_yan Please refer to the below URL for your query. This URL support for the Sass CSS pre-processor in Adobe Experience Manager 6.1 or above.

https://github.com/mickleroy/aem-sass-compiler

3 replies

Rohit_Utreja
Community Advisor
Rohit_UtrejaCommunity AdvisorAccepted solution
Community Advisor
April 20, 2023

@yan_yan Please refer to the below URL for your query. This URL support for the Sass CSS pre-processor in Adobe Experience Manager 6.1 or above.

https://github.com/mickleroy/aem-sass-compiler

arunpatidar
Community Advisor
Community Advisor
April 20, 2023
ManviSharma
Adobe Employee
Adobe Employee
April 22, 2023

Hi,

 

Yes, it's possible to compile SCSS files in an AEM 6.4 project without using npm or other scaffolding tools. One way to achieve this is by using a Maven plugin such as the frontend-maven-plugin.

 

The frontend-maven-plugin allows you to execute frontend build tasks such as compiling SCSS files as part of your Maven build process. To use the plugin, you'll need to configure it in your project's pom.xml file and specify the build tasks you want to run.

 

Regards,

Manvi Sharma